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!! :)
3/6
Need custom programming for your Lay Theme site?
I regularly add new features to Lay Theme for free, based on user feedback. But if you or your client need something more specific, I’m happy to offer custom paid programming tailored to your project.
Email info@laytheme.com with the subject "Custom paid programming for Lay Theme" and a short description of what you need — I’ll reply with a cost estimate.
Custom features I build often make it into future Lay Theme updates, so your idea might benefit the whole community.
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