Jump to content

Inserting new header logo on Blog Posts only

Recommended Posts

Hi All,

I have a mostly white logo as a header throughout my entire website. As a result, on the blog post pages half of my logo blends into the white page background. I have an alternative logo I can use, does anyone know how to JUST insert an alternative logo for blog post pages?

I've found other CSS for inverting, but that does not work on my logo since only part of it is white. I

Here is an example of my logo blending into the background, along with an example of the alternative logo I wish to use.

 

Thanks for you help!

Screen Shot 2021-07-13 at 11.10.10 AM.png

Core Solar Logo_Full Color (5).png

Link to comment
  • Replies 4
  • Views 537
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 7/15/2021 at 6:59 AM, AmandaE_CS said:

Hi, yes here is a specific blog post for reference:

 

https://www.coresolarllc.com/latest-news/partnering-with-fleming-county

Add to Design > Custom CSS

/* Blog posts new logo */
body.collection-type-blog-side-by-side.view-item .header-title-logo img {
    visibility: hidden;
}
body.collection-type-blog-side-by-side.view-item .header-title-logo a {
    background-image: url(https://cdn.pixabay.com/photo/2020/02/11/16/25/manarola-4840080__340.jpg);
    background-size: contain;
    background-repeat: no-repeat;
}

 

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
7 hours ago, tuanphan said:
/* Blog posts new logo */
body.collection-type-blog-side-by-side.view-item .header-title-logo img {
    visibility: hidden;
}
body.collection-type-blog-side-by-side.view-item .header-title-logo a {
    background-image: url(https://cdn.pixabay.com/photo/2020/02/11/16/25/manarola-4840080__340.jpg);
    background-size: contain;
    background-repeat: no-repeat;
}

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