Streaming live at 10am (PST)

Scrolling Up animation not changing background color


#1

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)


#2

Hi @Loki

The navbarup animation isn’t quite right…
CloudApp

Hint:

You’ve selected border colour instead of BG colour


#3

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!


#4

: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!


#5

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