Jump to content

Logo Color Change

Recommended Posts

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

I've create a white logo in my nav bar that looks great on all my pages with colorful headers. Unfortunately the product and checkout pages have white backgrounds and the logo is invisible as it too is white. Is someone able to adjust the code so my logo will be white on all pages with dark header backgrounds and black with pages with white backgrounds? 

PW: pw: Squarespacelogin123 

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 5/18/2021 at 3:28 AM, Rudybro said:

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

I've create a white logo in my nav bar that looks great on all my pages with colorful headers. Unfortunately the product and checkout pages have white backgrounds and the logo is invisible as it too is white. Is someone able to adjust the code so my logo will be white on all pages with dark header backgrounds and black with pages with white backgrounds? 

PW: pw: Squarespacelogin123 

Add to Design > Custom CSS

/* Products 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

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.