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?
-
Yes I am using the background image per row with 'Use browser height' ticked. I am using a Page rather than a Project / Category if that makes a difference.
Thanks!
M
-
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.
-
That works! Thanks so much, don't know how you keep with all this! You are doing a great job :thumbsup:
-
Thanks a lot mike!! :)
I don't answer or check forum DMs, please just post on the forum.
Before you post:
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. When using a WordPress Cache plugin, disable it or clear your cache.
Now see if your problem solved itself.
Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it