Jump to content

What css is needed to make the header sticky/fixed on Haute template?

Recommended Posts

  • Replies 2
  • Views 488
  • Created
  • Last Reply

Hi there. Insert the following via Custom CSS:

.Header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 890;
}

.collection-type-blog.view-list.tweak-blog-list-full-bleed:not(.tweak-blog-list-filter-show) .Header, .collection-type-blog.view-list.tweak-blog-list-full-bleed.tweak-blog-list-filter-show:not(.has-active-filter) .Header, .collection-type-blog.view-item.tweak-blog-item-header-full-bleed .Header {
  position: fixed;
}

-Brandon

If a response helped you out, send a 'Like' 👍 (bottom-right) and/or 'Upvote' vote.jpg.c260784ece77aec852b0e3049c77a607.jpg (top-left)

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.