How to keep header in wordpress fixed to the top

I have this problem with a site I am setting up in Wordpress where the header elements like site name and logo scroll down the page when the user scrolls. I have tried doing position:fixed to the div but it doesn't work. Any ideas? :)

@alina can probably help, she's a css wiz.

Although this isn't the place for these kinds of questions - MLs forum is not for coding help - SO or the ML Telegram are more appropriate for this.

0 Likes
Pete Codes Author

nice one - didn't even know there was a ML Telegram!

0 Likes

@petecodes telegram.me/Makerlog ๐Ÿ”ฅ

0 Likes
Pete Codes Author

Ok, decided to blog on Ghost in the end!

0 Likes

Please sign in to leave a comment.