Jump to content

Change menu text from white to black as it scrolls

Go to solution Solved by tuanphan,

Recommended Posts

Hey, I need help with a website I'm building for a client.
 
I have the menu set as 'dynamic', making the background transparent with white text. Then, when you scroll the menu background turns solid white.
 
However, when the menu background is solid white, the text is also white. This is the problem. I want the text to change to black/grey when it's on a solid white background when it starts scrolling, but keep it white at the top. Does anyone know how I could change it?
 
(I've added a couple of images to show what I mean)
 
PS. When I change the text colour in the styles menu to black, then it shows black on the transparent menu too, which I don't like. 

Screenshot 2023-03-07 at 15.13.38.png

Screenshot 2023-03-07 at 15.24.22.png

     

Emily Lewis

Founder of TwoFold
Squarespace websites for service-based businesses
twofold-studios.com

Link to comment
  • Replies 2
  • Views 612
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • 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.