Scrolling Up animation not changing background color

Hello,

I’m working on a site and I need to get the nav bar to change its background color has it scrolls up and down. When the page scrolls down it works fine, but when it scrolls back up the background remains the same.

I’m not sure what I’m doing wrong. I’ve done this before with past sites so I’m not sure what I’ve done wrong with this one.

here is a link

https://preview.webflow.com/preview/purple-gorilla?preview=9139c9e3c6e070ba766019be75ef4679


Here is my public share link: LINK
(how to access public share link)

Hi @Loki

The navbarup animation isn’t quite right…
CloudApp

Hint:

You’ve selected border colour instead of BG colour

1 Like

That’s just embarrassing!
I would say it’s been a long day but it hasn’t! So I’ll just say thank you and move on.

Thank you!

1 Like

:grin:

Sometimes just needs that extra pair of eyes to spot something… and because it’s so trivial, you don’t even entertain yourself with the idea!

I have a similar problem, except I actually used the BG Color. :slight_smile:

How can I change the BG Color from transparent to blue when the user scrolls up?

Preview: https://preview.webflow.com/preview/zerotogrowth-agency?preview=66c522f8c3e6b59c8568343b1810378b

Thanks