Jump to content

Creating Static Header - Harris Template

Recommended Posts

  • Replies 5
  • Views 856
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 years later...
On 10/26/2019 at 8:32 AM, tuanphan said:

@therealcarlx Add to Home > Design > Custom CSS

header#header {
    position: sticky;
    top: 0;
    background: #f2f2f2;
}

 

With a sticky header, how can you make the color of that entire bar change whenever it scrolls off the very top of the webpage?

Link to comment
On 5/5/2022 at 2:47 AM, ML98 said:

With a sticky header, how can you make the color of that entire bar change whenever it scrolls off the very top of the webpage?

Hi,

This will require JavaScript code. If you use a Business Plan or higher, please share link to your site, we can give code easier

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

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.