Jump to content

Change Cart Icon Colour in Nav Bar on Scroll

Recommended Posts

  • Replies 3
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Thanks so much @tuanphan I have a similar issue in terms of colour on the same website

 

I have used code so that when you scroll down the page, the logo goes from white to black (with a solid white nav background)

 

However, the product pages in the video, are against a white background, and that means the logo doesn't show properly. 

 

Is there a code I can use to target only product pages that will allow me to use the black logo instead? 

 

Thanks in advance! 

Link to comment
On 5/14/2024 at 6:07 AM, Gigi-C said:

Thanks so much @tuanphan I have a similar issue in terms of colour on the same website

 

I have used code so that when you scroll down the page, the logo goes from white to black (with a solid white nav background)

 

However, the product pages in the video, are against a white background, and that means the logo doesn't show properly. 

 

Is there a code I can use to target only product pages that will allow me to use the black logo instead? 

 

Thanks in advance! 

Screen Recording 2024-05-14 at 00.04.53.mov

I see you figured it out? It already black to me

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

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.