Jump to content

Custom header background color in blog posts

Recommended Posts

I have a white logo and have color or image backgrounds for my header throughout the rest of my site. On the individual blog posts, however, the background defaults to white and washes out my logo. I've tried a few custom CSS solutions and nothing seems to work. I am using the almar template.

Link to comment
  • Replies 6
  • Views 845
  • Created
  • Last Reply

Add to Home > design > Custom CSS

/* blog post header background */
.collection-type-blog-alternating-side-by-side.view-item:not(.header--menu-open) .header-announcement-bar-wrapper.white-bold {
    background: blue !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
On 8/1/2020 at 3:52 AM, tuanphan said:

Add to Home > design > Custom CSS


/* blog post header background */
.collection-type-blog-alternating-side-by-side.view-item:not(.header--menu-open) .header-announcement-bar-wrapper.white-bold {
    background: blue !important;
}

 

That worked - thanks!!

Link to comment
On 8/1/2020 at 3:52 AM, tuanphan said:

Add to Home > design > Custom CSS


/* blog post header background */
.collection-type-blog-alternating-side-by-side.view-item:not(.header--menu-open) .header-announcement-bar-wrapper.white-bold {
    background: blue !important;
}

 

Actually, now the drop-down menu is still white with white text. Is there a way to carry the black background color through?

Link to comment

Archived

This topic is now archived and is closed to further replies.

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