Jump to content

Invert logo on product and store pages

Go to solution Solved by DPruitt,

Recommended Posts

Hello, 

I need help inverting the logo on my product and checkout pages from white to black. 

Ive tried the code below but it doesn't seem to be working. Thank you! 

 

body.collection-type-product.view-item .Header-branding-logo {
131
    filter: invert(1);
132
    -webkit-filter: invert(1);
133
}

Screenshot 2023-08-06 at 12.20.28.png

Link to comment
  • Replies 1
  • Views 642
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

  • Solution

This inserting this into the page header injection area of the shop page instead:

<style>
  
  .header-title-logo img
  {filter: brightness(0) invert(0);}
  
  </style>

If you want to invert the logo on the Cart Page you will add this to the Custom CSS Panel:

  #cart
  .header-title-logo img
  {filter: brightness(0) invert(0);}

For the checkout page where users insert their CC# information, you'll have to render the original logo or use text as your logo as we can't use any coding for the secure checkout page.

Edited by DPruitt
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.