The Easter Sale is on! Join now or renew your subscription with a 25% OFF! Read More

Support Forum

Giora
Giora
Offline
Hi Ivo,

For 3 days now I've been pulling out my hair, and now I'm turning to you in desperation.

Site: http://aperiosystems.com.dedi3509.your-server.de/
Template: Start-up

Issue:
I used this code in my custom.css to change the background color behind the sticky nav bar to white on scroll.
/* STICKY NAV - change to white on scroll*/
#g-top.uk-sticky-placeholder {background-color: rgba(255, 255, 255, 0);}
#g-top.uk-active {
background-color: rgba(255, 255, 255, 1);
-webkit-transition: margin 0.3s;
-moz-transition: margin 0.3s;
transition: margin 0.3s;
}
But no matter what i do, I can't get the background color to transparent before it scrolls (so the background image in the header position will be behind the nav bar).

Any ideas?

Thanks in advance!!!
Lisa
Responses (2)
Sorry, but you are not allowed to view the replies here.
Your Reply

Become an insider | Subscribe to our Newsletter
Subscribe to our mailing list and stay up-to-date with all our awesome releases, latest updates and amazing discount offers!