Hello,
I'd like to use a fully transparent header that converts to semi-transparent header when scrolling down. Can you provide the CSS changes required?
Thanks you.
4 replies · opened May 31, 2017
Hello,
I'd like to use a fully transparent header that converts to semi-transparent header when scrolling down. Can you provide the CSS changes required?
Thanks you.
Hello,
This is Definitely Possible. Simply add the data-sticky-class="semi-transparent" Attribute to the #header Tag.
Then add the following CSS Code:
#header.dark.sticky-header.transparent-header #header-wrap:not(.not-dark) { background-color: rgba(0,0,0,0.6); }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.
Thank you very much!
One last thing for now... how can I make the header stay at the top of the screen on mobile displays?
Hello,
You can simply add the .sticky-responsive-menu Class to the <body> Tag.
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.
Works like a charm!
Thank again.
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