Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 1

How can I make the site header solid on blog post only?




I'm building a site using Bedford. I set the site header to transparent. And I removed the header image on blog pages as I didn't like the design.

I used this code for that:
/* don't show thumbnail as banner image behind blog post title (hard to read) */
.collection-type-blog .banner-thumbnail-wrapper {display: none !important;} .collection-type-blog .entry-title {display: block !important;}

But now I can't see the site header or navigation on a blog post page b/c it's white and the background is transparent.

Is there any way to set the background color for the site header for blog posts only (including all future posts)? Or to change the color of the logo and navigation for blog posts only?


Link to post
  • Answers 11
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

Add to Home > design > Custom CSS .collection-type-blog.view-item .Header-branding-logo { filter: invert(1); }  

You can use this code on the Post Blog Item Code Injection to invert the logo. <style type="text/css"> .header-title-logo { filter:invert(1); } </style>   Guessing some

.collection-type-blog.view-item .Header-nav-item[href="/contact"] { background: red !important; }  

Posted Images

11 answers to this question

Recommended Posts

  • 1
11 hours ago, SmallBizSidekick said:

Thanks for the code! For some reason, it's not working....  I used it as directed on both the Case Studies blog settings and the Blog settings. (The main blog pages' headers look great, it's just the individual posts).

Would love to hear your thoughts.... Many thanks!

Add to Home > design > Custom CSS

.collection-type-blog.view-item .Header-branding-logo {
    filter: invert(1);


Link to post
  • 1
20 minutes ago, SBSidekick said:

The button on the top right shows on the main blog header:


But not on the individual blog posts

.collection-type-blog.view-item .Header-nav-item[href="/contact"] {
    background: red !important;


Link to post
  • 0

I'm running into the same issue. I use dark banners on all the other pages with a white logo, but I can't set a banner on the blog page.

I feel like the only solution is to change the default color scheme for the entire site or abandon the transparent header.

Creating websites using Squarespace at Design by Donuts 🍩

Link to post
  • 0

I've been searching everywhere and this is a great solution to the issue @ChrisBartow! I do not know CSS well enough to invert a logo - do you have simple code you'd be willing to share? (It is also not showing the button on our Nav bar, but is showing the other links, weirdly enough).


Link to post
  • 0
2 hours ago, SBSidekick said:

@tuanphan that worked! Thanks so so much.

Any code to do the same for the Contact button?

See it appear: https://www.deatongroupllc.com/blog

And disappear: https://www.deatongroupllc.com/blog/what-all-business-leaders-need-to-hear-right-now

"Contact button" what do you mean?


Link to post

Create an account or sign in to comment

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

  • Create New...