CDuMez Posted January 4 Share Posted January 4 (edited) On the home page of my site, https://www.herocards.us/, I'd like to reduce the padding slightly between the navigation and title, and also the buttons and bottom edge (shown in red). Ideally, I'd like to do this on the home page only, as other pages seem fine. The background is a looping video. There are a lot of Forum CSS solutions for gallery pages and other similar situations. But I can't seem to find anything for adjusting this spacing on a Bedford template Home page. Can anyone help me with this CSS coding? Edited January 4 by CDuMez added detail about the background being a video Link to comment
Ziggy Posted January 4 Share Posted January 4 Try this Custom CSS: #collection-61621b4cde18954468c81b0c { .transparent-header.collection-type-page .banner-thumbnail-wrapper { padding: 100px 0 50px; } } The 100px is the top padding, the 50px is the bottom padding. CDuMez 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
CDuMez Posted January 4 Author Share Posted January 4 Thanks for the fast response, Ziggy! I tried that solution, but there's no change. Link to comment
Solution Ziggy Posted January 4 Solution Share Posted January 4 Can you try this: #collection-61621b4cde18954468c81b0c { .transparent-header.collection-type-page .banner-thumbnail-wrapper { padding: 100px 0 50px !important; } } and if that doesn't work then this: .transparent-header.collection-type-page .banner-thumbnail-wrapper { padding: 100px 0 50px !important; } Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
CDuMez Posted January 4 Author Share Posted January 4 59 minutes ago, Ziggy said: Can you try this: #collection-61621b4cde18954468c81b0c { .transparent-header.collection-type-page .banner-thumbnail-wrapper { padding: 100px 0 50px !important; } } and if that doesn't work then this: .transparent-header.collection-type-page .banner-thumbnail-wrapper { padding: 100px 0 50px !important; } The first option had no effect, but the second one did the trick! It impacts all pages, rather than just the main page. Not ideal, but much preferable to pushing page content off the screen on my main page! Thanks so much, Ziggy! Link to comment
Ziggy Posted January 4 Share Posted January 4 You could always put the code into the home page header code injection within <style></style> tags to just target the one page. CDuMez 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? 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