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
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

You can edit Site Header > Enable Fixed Header

image.png.aa861e7c2e94af0c57ff89b82b30bbc1.png

When you do this, SS will add a new class name to header, then you can target scroll header - top header easier

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

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.