Jump to content

Adaptive header light/dark logo issue. Code needed!

Recommended Posts

Hello!

I am using the Adaptive header option on my website with a dark cover allowing white logo and navigation to be viewed (https://rightalignedacademy.com/)

But when I land on one of the commerce pages the logo remains white and ultimately invisible (https://rightalignedacademy.com/courses/p/4-week-brand-identity-design-course).

Can someone suggest a solution?

Thank you!

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

Top Posters In This Topic

Popular Days

Top Posters In This Topic

@applefourfourtwo Hi! You can add this code by going to Website > Pages > Website Tools > Custom CSS. This will change the header logo to black on pages where it becomes invisible.

header[data-section-theme="white"] .header-title-logo img, #cart .header-title-logo img {
    filter: invert(1);
    -webkit-filter: invert(1);
}

 

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

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.