Max
November 10, 2023, 12:21pm
1
Add this code to the Custom CSS field on the Advanced tab of your Slider widget’s settings:
@media (max-width: 500px) {
.eapp-slider-slider-slider,
[class*="BuilderBlock__StyledWidgetBackground-sc"],
[class*="Background__Container-sc"] {
height: 60vh!important
}
}
Quilla
(Francesca )
August 1, 2024, 6:45am
2
@Max unfortunately I am having some issues with this code. It doesn’t actually fix the height of the widget but rathe constrains it and then makes it scroll. The name of my widget is “Our Work Home Slider”.
1 Like
Max
August 1, 2024, 12:46pm
3
Hi @Quilla
I’ve adjusted the code, it should work now:
@media (max-width: 500px) {
.eapp-slider-slider-slider,
[class*="BuilderBlock__StyledWidgetBackground-sc"],
[class*="Background__Container-sc"] {
height: 60vh!important
}
}
Give it a try and let me know if you like the result
2 Likes