Jump to content

Changing Logo Color on Different Site Pages

Go to solution Solved by rwp,

Recommended Posts

@Hannah Williams

It's working for me locally on your site.

1870347693_ScreenShot2021-03-08at11_37_04AM.thumb.png.169bd4b655efd7bce1eb4ac3ee4cc958.png

If you install the code and it still isn't working, and not causing an issue, leave the code installed. Then let us know. Sometimes testing locally doesn't cover all the use cases. We can then diagnose further.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
  • 2 months later...

@Rudybro

Your site it private.

Please set up a site-wide password.

Post the password here.

Adding a site-wide password is not a security breach. Please read the documentation at the link provided to understand how it works.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
On 5/13/2021 at 1:15 AM, Rudybro said:

@rwp Are you able to help me change the logo color of my site to black when on white pages (product/checkout)? 

https://silver-hyperboloid-kt5p.squarespace.com/config/  

pw: Squarespacelogin123 

You mean checkout page (/checkout) or /cart page?

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
17 hours ago, Rudybro said:

 yes. I would like the logo to be dark when on a page with a white background. 

Add to Design > Custom CSS

/* cart page logo */
body#cart .header-title-logo img {
    filter: invert(1);
    -webkit-filter: invert(1);
}

 

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
13 hours ago, Rudybro said:

awesome, thank you! That updated for the cart page. What about the product pages. They also have a white background and need a black logo. 

product list page

/* product list page logo */
body.collection-type-products.view-list .header-title-logo img {
    filter: invert(1);
    -webkit-filter: invert(1);
}

product detail page

/* product detail page logo */
body.collection-type-products.view-item .header-title-logo img {
    filter: invert(1);
    -webkit-filter: invert(1);
}

 

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
  • 4 months later...

@Shwena

Add the following to Design > Custom CSS.

/* cesar invert logo */

#collection-614b1651cb58a6025342a6c8 .Header-branding-logo {

  filter : invert( 1 );
  
  }

This if for v7.0 using the Brine template family and specific to the poster's need.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
22 hours ago, creedon said:

@Shwena

Add the following to Design > Custom CSS.

/* cesar invert logo */

#collection-614b1651cb58a6025342a6c8 .Header-branding-logo {

  filter : invert( 1 );
  
  }

This if for v7.0 using the Brine template family and specific to the poster's need.

Let us know how it goes.

Perfect! Thank you again for your help!! 

Link to comment
  • 1 month later...

@nancym97

The following will get you close to white but not white.

Add the following to Design > Custom CSS.

/*

  begin music pages "white" logo
  
  Version     : 0.1d0
  
  SS Version  : 7.1
  
  Note        : uses LESS syntax
  
  By          : Thomas Creedon < http://www.tomsWeb.consulting/ >
  
  */
  
  #collection-6153a9af295843497b25a6e0, // tampa
  #collection-6153aa2f7893463eef1708f6 // boston
  
    {
    
      .header-title-logo img {
      
        filter : brightness( 0 ) invert( 1 );
        
        }
        
      }
      
  // end music pages "white" logo

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
  • 6 months later...
7 hours ago, mvorozco16 said:

Hi! @tuanphan 

I'm having the same issue - I would like my logo to be black only on the blog posts, since is white on all the other pages, in the blog posts doesn't show.

 

Link: https://www.luciarodriguezc.com/

Pass: Lucia0987

 

Thanks in advance!

 

Add to Design > Custom CSS

/* blog posts logo */
body[class*="type-blog"].view-item header.Header img {
    filter: invert(1);
    -webkit-filter: invert(1);
}

 

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.