Jump to content

Invert Header logo on scroll

Recommended Posts

Site URL: https://chrysalis-lanternfish-ksbg.squarespace.com/

Hey!

Hoping someone can help me with this.

 

The header logo of my website is visible on the darker background, however when you scroll the header becomes fixed and the logo disappears in to it.
Is there a way I can invert it?

The link to my site is attached. Password is: MOUSSI

 

Thanks!

Edited by adrianadelgiudice
Link to comment
  • Replies 4
  • Views 867
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 year later...
On 9/10/2020 at 12:41 PM, tuanphan said:

Add to Home > Design > Custom CSS

/* Invert logo on scroll */
.tuan img {
    filter: invert(0);
    -webkit-filter: invert(0);
}

 

Hi, I have tried using this code but it doesn't seem to invert my logo when I scroll..and would love to know how to do it. Thanks

Link to comment
On 12/9/2021 at 4:52 AM, clockyer said:

Hi, I have tried using this code but it doesn't seem to invert my logo when I scroll..and would love to know how to do it. Thanks

Hi. The member already use a script code, missing CSS so I sent CSS.

Can you share link to your site? We can check & give the full code

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
  • 3 weeks later...

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.