Hi,
how can I hide my slider on mobile?
THanks and BR
Hi,
how can I hide my slider on mobile?
THanks and BR
Hi there, @user14693
Here is the code to hide the widget on mobile:
@media (max-width: 480px) {
.global-styles,
.elfsight-app-WIDGET_ID {
display: none;
}
}
Replace WIDGET_ID
with the ID of your widget and add this code to the Custom CSS field on the Settings tab of your widget’s settings
@Max awesome code but the question would also be “Hide Widget on mobile”.
It would be nice if it found a place in the CSS code section.
Hey there, @Sina
This code should for all widgets, not just the Slider
I agree that it would be awesome to add this code to the CSS Codes section, but since its categories are app-specific and this code works for all apps, I’ve added it to the Pro Tips category - How to hide a widget on mobile