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?


Mountainmint

Question

Hello,

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?

Thanks!

Link to comment

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);
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 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;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 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?

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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