how change sticky header bg color on scroll

1 reply · opened Dec 11, 2017

Wweb404Dec 11, 2017

i want change sticky header bg color .
i change header bg color like this: <header id="header" class="full-header dark" style="background-color: #254061;">

but when i scroll it changes bg color on black, how change sticky header bg color on scroll

SSemicolon WebSTAFFDec 11, 2017

Hello,

Please use the following CSS Code instead of using Inline CSS:

#header.sticky-header #header-wrap { background-color: #FFF; }

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard