Jump to content

Add a block of colour to a blog post header

Recommended Posts

Hey guys, how would I go about adding a solid block of colour to a blog post header, roughly 25vh, with the title sat in the middle?

Attached is a pic of how I'd like it to look.

Usually for this, I'd use Will Myers' blog post header plugin, but this colour needs to be on all blog posts whilst being able to have a separate thumbnail image.

Site: https://echidna-trout-5mcr.squarespace.com/mission-blog/blog-post-title-one-rgamz password = pass

Screenshot 2023-11-14 at 09.03.22.png

Sam Crawford | by Crawford.
Multi-award-winning Squarespace expert
💸 How I make $500k/year designing Squarespace websites: Watch the video
📱 Hire me to build your Squarespace website: calendly.com/bycrawford/call
Did my comment help? To help others benefit, leave a like and mark my answer as 'best'. This lets users scroll straight to the solution they need.
Link to comment
  • Replies 2
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

If you use Will's plugin and set the overlay to a solid colour and 25vh it should look like your mockup. It of course would be best not to load the image at the top, but I'm sure that would be possible for loading time.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
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

You can also add this code to Last Line in Code Injection > Footer

    $('<h1 class="custom-blog-heading">Mission Blog</h1>').insertBefore('div.blog-item-wrapper.blog-basic-grid-item-wrapper');
  h1.custom-blog-heading {
    text-align: center;
    background-color: #bbccc4;
    height: 25vh;
    margin: 0 !important;
[class*="type-blog"].view-item header#header {
    background-color: #bbccc4 !important;


Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.