Sticky navigation on all other pages than the homepage - almost there

I succeeded making the navbar static on the front page (while sticky on other pages) with this bit of CSS:

.home .x-navbar.x-navbar-fixed-top {
position: static;
}

It works, but not 100% as this bit of code is interferring:

.masthead {
height:0px;
}

When i scroll the logo disappears (in chrome) and in Safari both the logo and navbar (ubermenu) blinks…

The site is currently hosted locally, but if this requires a closer look i can upload it to a different domain.

Looking forward to your reply - and THANKS for your amazing work. X is amazing.

Gabriel

Hello @GabrielK,

Thanks for asking. :slight_smile:

Can you please upload the website to a staging domain for us to take a closer look? It’s a bit difficult for me to suggest you a solution without taking a look at the website.

To move website from local setup to online, please take a look at following tutorial:

https://www.wpbeginner.com/wp-tutorials/how-to-move-wordpress-from-local-server-to-live-site/

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.