fstone Posted October 6 Posted October 6 Site URL: http://redfinn.co.uk Hey, I know this isn't the first post of its kind but I'm trying to have the 'Slideshow: Simple' gallery for desktop and 'Grid: Masonry' for the mobile view. If anyone could help, Would be much appreciated, Thanks Beyondspace 1
Marya Posted October 6 Posted October 6 @fstone The easiest way to achieve this is set up both galleries and then use CSS to hide one gallery depending on the screen size. If you set them up, I can take a look at your site and send the code over! Just make sure to share your site pw 🙂 Beyondspace 1
fstone Posted October 7 Author Posted October 7 (edited) @Marya Perfect! Thank you 67gh4wp Edited October 7 by fstone
Solution Marya Posted October 7 Solution Posted October 7 @fstone Here's a sample of code you can use to add for the other bodies of work on your site. This is for Personal > Friends specifically. @media screen and (max-width: 640px) { section[data-section-id="66ce3733f867976ea58abdcc"] { display: none!important; }//desktop gallery }//hide on mobile @media screen and (min-width: 641px) { section[data-section-id="6702ea6a582bf305b6f183a3"] { display: none!important }//mobile gallery }//hide on desktop fstone 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment