# SOLVED: Bug in Slider widget height

**URL:** <https://forum.bricksbuilder.io/t/solved-bug-in-slider-widget-height/8053>\
**Category:** Bugs\
**Created:** [November 21, 2022, 3:34pm UTC](https://forum.bricksbuilder.io/t/solved-bug-in-slider-widget-height/8053 "2022-11-21T15:34:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![HOSEIN](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/hosein/32/25907_2.png) [@HOSEIN](https://forum.bricksbuilder.io/u/HOSEIN)\
**Post date:** [November 21, 2022, 3:34pm UTC](https://forum.bricksbuilder.io/t/solved-bug-in-slider-widget-height/8053/1 "2022-11-21T15:34:01Z")

</div>

**Bricks Version** : 1.5.7  
**Browser** : Chrome  
**OS** : Windows

Hi bricks team!

If we add a slider widget, its height is 50vh by default. I try to set the height lower than 50vh but it doesn’t change. But I can increase it.  
But if we add the nestable slider widget, we can make its height lower than 50vh and there is no problem with this widget.

This problem exists especially in mobile device for slider widgets. In mobile, the height of the slider widget is very unusual and we cannot reduce its height.

**In general, the problem is that in the slider widget, the height does not go below 50vh.**

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [November 23, 2022, 11:57am UTC](https://forum.bricksbuilder.io/t/solved-bug-in-slider-widget-height/8053/2 "2022-11-23T11:57:53Z")

</div>

Hi Hosein,  
Thanks so much for your report!

I am not quite sure if this is a bug or if the min-height label is just misleading, but I have added it to the bug tracker.

The min-height setting only refers to the slide, not the slider itself. If you also set the min-height in the style tab to e.g. min-height 25vh, it works as expected.

Best regards,  
timmse

---

<div class="post-metadata">

**Author:** ![cmstew](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/c/65b543/32.png) [@cmstew](https://forum.bricksbuilder.io/u/cmstew)\
**Post date:** [November 23, 2022, 3:37pm UTC](https://forum.bricksbuilder.io/t/solved-bug-in-slider-widget-height/8053/3 "2022-11-23T15:37:37Z")

</div>

Hey Timmse,

This is something I’ve noticed as well. I almost always have to set the height to auto because if the browser height is too small, it crops my content off. As you can see, there’s supposed to be a button in my slider too but the S is so big it just pushes the button out of the slider due to the slider content being larger than 50% of the browser height.

I think all we’re suggesting is a more sensible default here. Such as auto, or initial.

 ![Screen Shot 2022-11-23 at 8.34.39 AM](https://forum.bricksbuilder.io/uploads/default/original/2X/0/0ceec3364dac7fe541af1d71e983cfab13de0589.jpeg)

---

<div class="post-metadata">

**Author:** ![MarekKmiecik](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/m/4491bb/32.png) [@MarekKmiecik](https://forum.bricksbuilder.io/u/MarekKmiecik)\
**Post date:** [November 24, 2022, 6:31am UTC](https://forum.bricksbuilder.io/t/solved-bug-in-slider-widget-height/8053/4 "2022-11-24T06:31:30Z")

</div>

There is the same problem with simple Slider.  
Setting the min-height, has no result.  
Min-height is always 50vh.

---

<div class="post-metadata">

**Author:** ![HOSEIN](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/hosein/32/25907_2.png) [@HOSEIN](https://forum.bricksbuilder.io/u/HOSEIN)\
**Post date:** [November 24, 2022, 8:52am UTC](https://forum.bricksbuilder.io/t/solved-bug-in-slider-widget-height/8053/5 "2022-11-24T08:52:52Z")

</div>

yes, It works fine in nestable slider, but there is this problem in Slider.

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [November 25, 2022, 8:55pm UTC](https://forum.bricksbuilder.io/t/solved-bug-in-slider-widget-height/8053/6 "2022-11-25T20:55:36Z")

</div>

Hoseins report is about the regular, non-nestable, slider 😉

I understand your problem @cmstew , but the default setting works fine for a slider that only contains images, for example. Therefore it is difficult/impossible to set a default that always works in every case.

---

<div class="post-metadata">

**Author:** ![cmstew](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/c/65b543/32.png) [@cmstew](https://forum.bricksbuilder.io/u/cmstew)\
**Post date:** [November 25, 2022, 9:06pm UTC](https://forum.bricksbuilder.io/t/solved-bug-in-slider-widget-height/8053/7 "2022-11-25T21:06:54Z")

</div>

That’s fair and I realize that now. Sorry for going off topic. 😅

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [November 29, 2022, 4:06pm UTC](https://forum.bricksbuilder.io/t/solved-bug-in-slider-widget-height/8053/8 "2022-11-29T16:06:43Z")

</div>

Hey Hosein,  
Bricks 1.6 (Beta 2) contains a fix for this problem.

You can download it manually in your account:  
[https://bricksbuilder.io/account/?v=1.6-beta2](https://bricksbuilder.io/account/?v=1.6-beta2)

Best regards,  
timmse
