[Tips & Scripts] Creating a Fixed Header/Footer (aka Sticky Header)



Show first post

156 replies

I usually add this javascript found on this documentation:

https://documentation.unbounce.com/hc/en-us/articles/360022719471-Adding-Smooth-Scrolling-Links-and-Buttons-for-Anchor-Links

Afternoon! URGENT!!

I’m having some problems with the fixed header on mobile and tablet view: the header is cut from the frame as the screen is smaller.

How to make it mobile responsive? To make the header stretch out and in to fit on the screen on different devices.

Can someone help me with this? I’m new to coding.

Hi everyone. Any ideas why this wouldn’t work if the sticky element is inside a lightbox?

14da890123762fb66399f94cba814a29

It loads in the right place when the lightbox opens, but then doesn’t scroll with the page.

This works great, but is there a way to have to nav disappear after the user scrolls a bit? Is there also a way to use jQuery twice on a page? This conflicts with another section (accordion) that also uses jQuery.

Trying to implement this. It’s not smooth scrolling like the sample. Also would like to make this header show after the user scrolls past the optin form.

Here’s the capture page: https://freesession.homeschool-teachers.com/freereport/

Followed the code provided in this thread v1.3.1.

Any ideas how to fix this? Thanks in advance.

Userlevel 3
Badge

With the Header sticky, i can’t control default sticky bar.

Please check this, we need something like this

but i see something like this by default after setting up default Unbounce sticky bar

I did, something like this code in the Unbounce default sticky bar. But it doesn’t work

So let me know how can i make it possbile in Unbounce with the Fixed header sticky and Unbounce default sticky?

Thanks,
Mahinur

Reply