Hello,
Is there any way NOT to display the slider/slideshow in the iphone/smartphones responsive versions (but still in the tablets and of course in the desktop versions)?
Thanks and best regards
Charles
Hey mailclub!
You can turn on custom CSS field for ALB elements ( http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ ) and give your elements a custom CSS class ( for example “only-desktop” ) and then add following code to Quick CSS in Enfold theme options under General Styling tab to not display them on mobile
@media only screen and (max-width: 480px) {
.only-desktop { display: none !important; }}
Best regards,
Yigit
Hi Yigit,
Thanks for the answer. I modified the functions.php files, and Custom CSS filed is on. I added your code to the General Styling of the theme, but I cannot find in the LayerSlider settings the new field Custom CSS Class. Can you tell me where to give the slideshow the only-desktop class ?
The website is on http://www.safebrands.fr / .com
Thanks again
Charles
Hey!
Thank you for using Enfold.
You can’t apply a custom css class for the layer slider but you can hide the layer slider with this:
@media only screen and (max-width: 480px) {
.home div#layer_slider_1 { display: none !important; }}
Best regards,
Ismael
Hi, this works fine, many thanks.
Have a nice day.
Charles