Hello,
I would like to be able to show a different Advanced LayerSlider on mobile devices than is shown on the desktop. I have tried the following code as found in the forum:
@media only screen and (min-width: 768px) { #layer_slider_2 { display: none!important; } }
@media only screen and (max-width: 767px) { #layer_slider_1 { display: none!important; } }
I am using the most current update of Enfold but this fix does not seem to be working. Any suggestions?
Thank You.
Hey D5WDesignGroup!
The css needs to target the layer sliders on your page specifically. So you need to find the ID’s of them by inspecting the site with dev tools.
I would however caution you from doing this as you are still loading both LayerSlider slideshows into the page for all users.
Cheers!
Devin
Thank you, I was able to get it working once i found the correct ID’s.