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



Show first post

156 replies

it works perfectly. It would be nice to have a header that is not as wide as the page

Love it!

Would work great on a longer landing page!

Nice
/ Torben

Userlevel 3

Hey there! I took a look at your page and it looks like you have some custom CSS conflicting with the script.

<br /> position: fixed;
<br /> top: 0;
<br /> right: 0;
<br /> left: 0;
<br /> z-index: 99;
<br /> width: 100%!important;
<br /> }
<br /><br /> </style>```   
 
Remove the snippet above from your CSS stylesheets box and the script should work as intended.

i’ve tried it, but it doesn’t work

I love this solution, Johnny! I’m curious to see how this would affect conversion rate, as it provides an ‘always on’ solution to jump back to the form. Awesome work!

Reply