Jump to content

jesspetro

Member
  • Posts

    3
  • Joined

  • Last visited

Everything posted by jesspetro

  1. I have a website, wareagleforge.com. The default logo for the website is a black png. On several pages with dark headers, I've used code to make the logo white. The shop page is one example of a page with a dark background so I've used the code on that specific page to make the logo white. But it turns out that the product details pages inherit that change. My product details pages do not have a dark background for the header so you cannot see the white logo on the white background. I'd like to ONLY use the black logo on the product details page and NOT on the shop page. I've tried every example I could find online and nothing seems to achieve what I'm trying to do. Any ideas? This is the code I'm using on the shop page under settings>advanced>page header code injection to make the logo white on the dark header background. <style> .header-title-logo img { visibility: hidden; } .header-title-logo a { background-image: url(https://images.squarespace-cdn.com/content/65c65e0fea861123a7439f1d/e8435e52-c247-4757-8e74-aa4a3cc8053f/logo+with+name+larger+white.png); background-size: contain; background-repeat: no-repeat; background-position: center center; } </style>
  2. I used the same code and it did achieve changing the logo on my product details page, but it still also changed it on the shop page. Any ideas?
×
×
  • 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.