O
O
olya_0972020-07-09 20:54:58
css
olya_097, 2020-07-09 20:54:58

How to make the same height for items in a slider?

and on a regular block (not a slider) it works,
but here it doesn’t

https://codepen.io/Olya097/pen/JjGvzJO?editors=0110

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WapSter, 2020-07-09
@olya_097

var currentHeight = $('.account').outerHeight(true);

You don't have a block with the account class in this layout. I would loop through all items and find the maximum height, then just set it to all items.
And this slider is no longer supported, better use swiper
UPD

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question