Roxyjee Posted February 18, 2020 Share Posted February 18, 2020 Site URL: https://pelican-rectangle-748l.squarespace.com/home Hi Guys, I wanted to know if its possible to replace the Index slideshow gallery images for mobile? I have tried this code for to get it show the full image as it was cutting my image off. <style> @media screen and (max-width:640px) { .Index-gallery-item-image img { width: 100% !important; left: 0 !important; top: 0 !important; height: auto !important; } } </style> But using this code shows the full image, but doesn't show my button that I have on-top of the index slideshow correctly. So now I've created different images for mobile, Is there a way I can just add these images to show on mobile? I have 3 images in my slideshow. Link to comment
tuanphan Posted February 19, 2020 Share Posted February 19, 2020 <style> @media screen and (max-width:640px) { .Index-gallery-item-image img { width: 100% !important; left: 0 !important; top: 0 !important; height: auto !important; } .Index-gallery-wrapper.gallery-root { position: relative; } .Index-gallery-item-content { max-width: 100% !important; padding-top: 0 !important; position: static; } .Index-gallery-item-content-body a { position: absolute; top: 5%; left: 50%; transform: translateX(-50%); } } </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.