simonavisuals Posted April 16, 2022 Share Posted April 16, 2022 Site URL: https://www.simonavisuals.com Hey, I'm looking to reduce the spacing of my header/top menu site-wide on mobile only. I'm happy with how it looks on desktop but on mobile there's quite a large space between the header and the content of my pages. I've tried a handful of suggested custom CSS from people with similar issues but had no luck! Any help would be greatly appreciated - thank you! Link to comment
Solution Beyondspace Posted April 16, 2022 Solution Share Posted April 16, 2022 5 hours ago, simonavisuals said: Site URL: https://www.simonavisuals.com Hey, I'm looking to reduce the spacing of my header/top menu site-wide on mobile only. I'm happy with how it looks on desktop but on mobile there's quite a large space between the header and the content of my pages. I've tried a handful of suggested custom CSS from people with similar issues but had no luck! Any help would be greatly appreciated - thank you! Try in Home > Design > Custom Css @media only screen and (max-width: 767px) { #page { margin-top: 0 !important; } .mobile-bar-wrapper .mobile-branding-wrapper{ padding-top: 10px; padding-bottom: 10px; } .main-content .sqs-row > .col > .sqs-block-gallery { padding-top: 0 !important; } } Let me know how it works on your site BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Beyondspace Posted April 16, 2022 Share Posted April 16, 2022 My testing BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
simonavisuals Posted April 16, 2022 Author Share Posted April 16, 2022 3 hours ago, bangank36 said: Try in Home > Design > Custom Css @media only screen and (max-width: 767px) { #page { margin-top: 0 !important; } .mobile-bar-wrapper .mobile-branding-wrapper{ padding-top: 10px; padding-bottom: 10px; } .main-content .sqs-row > .col > .sqs-block-gallery { padding-top: 0 !important; } } Let me know how it works on your site Absolutely perfect! Thank you so much Ba, your help is much appreciated. 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