Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Featured slider height is changed for mobile

$
0
0

Replies: 0

Hello,

I use ashe pro theme. I added featured slider in the last days but I see strange behavior for different view widths. On the options height of the slider was set to 300px. I see that on the slider options there are few breakpoints defined: 1250, 980, 769
data-slick="{"slidesToShow": 1, "autoplay": true, "autoplaySpeed": 4000, "dots": true, "fade": true, "responsive": [{"breakpoint":1250,"settings":{"slidesToShow": 1}},{"breakpoint":980,"settings":{"slidesToShow": 1}},{"breakpoint":769,"settings":{"slidesToShow": 1}}]}"
but there is no info about the height change. When I change the width of the browser slider’s height is like follows:
– x > 980px – 303 px
– 769 < x < 980 – 503 px
– 640 < x < 769 – 363 px
– x < 640 – 333 px
The height of the element is defined in internal style attribute, not CSS
<div class="slick-list draggable" style="height: 303px;"></div>
so there is no option to modify height by CSS customization. Is there an option to change the height for mobile sizes?


Viewing all articles
Browse latest Browse all 59525

Trending Articles