addsomesalt Posted May 25, 2021 Share Posted May 25, 2021 (edited) Mobile view on my site is showing so much padding on top and bottom of the gallery images. Looks fine on desktop. I used this code from another query answerd by @tuanphan, which worked for the top margin but not the bottom. Any suggestions on how to fix it? @media screen and (max-width:767px) { #page article section:first-child { padding-top: 0px !important; padding-bottom: 0px !important; } } Edited May 25, 2021 by addsomesalt Link to comment
tuanphan Posted May 26, 2021 Share Posted May 26, 2021 Hi. Can you share link to your site? 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
addsomesalt Posted May 26, 2021 Author Share Posted May 26, 2021 Sure – it's not live yet but here you go. If it asks password is Catalyst https://cobalt-hen-p6rs.squarespace.com/ Link to comment
tuanphan Posted May 26, 2021 Share Posted May 26, 2021 8 minutes ago, addsomesalt said: Sure – it's not live yet but here you go. If it asks password is Catalyst https://cobalt-hen-p6rs.squarespace.com/ Add to Design > Custom CSS > Then save & reload the site /*Mobile-Home-Slideshow */ @media screen and (max-width:767px) { body.homepage .gallery-slideshow { height: 35vh !important; margin-top: 15vh; } } 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
addsomesalt Posted May 26, 2021 Author Share Posted May 26, 2021 Thanks! I'll give it a go... Link to comment
addsomesalt Posted May 26, 2021 Author Share Posted May 26, 2021 That's so great. It worked. Thank you so much! I tweaked the margins a little but the code works so all good. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment