Tagged: disable, mobile, responsive, slider
Hi,
Can I disable the slider on my theme but only disable it when the theme is viewed on a smartphone?
Hi,
Please add following code to Quick CSS in Enfold theme options page under Styling
@media only screen and (min-width: 480px) and (max-width: 767px) { div.ls-wp-fullwidth-container { display: none; } }
Regards,
Yigit
Hi Yigit,
I have pasted the code into the Quick CSS in the Enfold theme options under styling. But when viewed on my Android phone the slider is still displayed.
Cheers Vicki
Hi!
Try following code instead
@media only screen and (max-width: 767px) {
div.ls-wp-fullwidth-container { display: none !important; }
}
If it still doesn’t wrk try to increase the max-width value and set iit to i.e. 1024px
Regards,
Peter
PERFECT – worked a treat many thanks :)
Hi!
Great :)
Regards,
Peter