NEED HELP! How to disable header to going to top of page when scrolling?

Highlighted
Explorer
167 2 8

Hi all,

How can I stop my header to going to top of page when scrolling down? I'd like to have it right under my header and when I scroll it needs to stay this way, so announcement bar + header will always be visible even when scrolling down..

Somehow I have to add padding-top: 42px; to header-section when user has scrolled down a bit, how can i do this?

https://dedicatednutrition.eu/?gclid=Cj0KCQjw4dr0BRCxARIsAKUNjWRA5RzvOWjsEj8Lya7ZFILyj2nfEUjgNzZISAw...

 

My website : www.smartnutrition.nl  or smartsnutrition.myshopify.com

Password: plazay

Thanks in advance!

0 Likes