Jump to content

Adjust the banner image spacing on a Bedford home page

Go to solution Solved by Ziggy,

Recommended Posts

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?

Screenshot 2024-01-04 at 7.45.46 AM.png

Edited by CDuMez
added detail about the background being a video
Link to comment

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.

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
  • Solution

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
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

You could always put the code into the home page header code injection within <style></style> tags to just target the one page.

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.