Jump to content

Make Header Appear On Scroll

Recommended Posts

I am trying to make the navigation bar transparent when the user lands on the page, then as soon as they scroll the background comes back.

I added this code to make the background transparent :

//transparent navigation on home//
.homepage .header-announcement-bar-wrapper {
    background: transparent !important;
    position: absolute !important;
}

But it is still transparent when scrolling down the page and I want the black background to reappear when the user scrolls

The website is https://timmarner.squarespace.com/
And password is: timmarner123

Can anyone help please?

Edited by TimMarner
typo

Tim Marner®
Award-Winning Branding Agency In Bolton

https://timmarner.co.uk/

Link to comment
  • Replies 1
  • Views 254
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.