Fullscreen Slider — Mobile
-
Hi Armin
I am using the fullscreen slider add on. It is working great for desktop however I want to completely disable it for mobile so that the site is 100% width on any device (currently the images are being cropped off). I have ticked the disable for phone option but this just turns of the magnetic slide. Any advice?
http://www.rolandbrauchli.com/
Many thanks
Mike
-
Hey Mike, you are using row background images for all of your images right?
-
Hi Mike, sorry for my late response, was a busy last week.
Try this CSS in "Lay Options" -> "Custom CSS" -> "Custom CSS for Mobile"
.background-image img.bgh100, .background-image img.bgw100{ height: auto; width: 100%; top: 0; left: 0; -webkit-transform: none; -ms-transform: none; transform: none; position: relative; } .background-image{ position: relative; margin-bottom: 5%; } .row._100vh, .row-inner._100vh{ min-height: 0!important; }
You can change the margin-bottom: 5% value to have a different space between the images.
-
Thanks a lot mike!! :)
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it
Online Users
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com