Jump to content

MATSUYA: Keep header and navigation bar visible when scrolling

Recommended Posts

Hi!

When I scroll down on my website, my header and navigation bar go away, which is annoying because I don’t want visitors to have to scroll all the way up to go to a different section of the website. I’d like my content to flow underneath a static header and navigation bar. I'm using Matsuya from 7.1.

Any suggestions would be appreciated !

Link to comment
  • Replies 3
  • Views 570
  • Created
  • Last Reply
  • 2 months later...
22 hours ago, Charlest93 said:

Hi, thank you for the answer. It is very helpful. But I would like to do this header for all the pages except Home. Is it possible?

Edit above code to

body:not(.homepage) .header .header-announcement-bar-wrapper {
    position: fixed;
    z-index: 999;
    left: 0;
    right: 0;
    top: 0;
}

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.