I'm using a stacked logo and nav bar and want it fixed, the navbar is but the logo isn't!

Hi, is there any way of making the logo fixed so it stays in the same position (along with the navbar) as you first see it before scrolling down? At the minute when you scroll down the page, the logo moves off the top of the screen and the navbar moves to the top of the page. I’m using a stacked logo and nav bar and want it fixed. I can’t figure out the CSS!

I’ll put the URL in a secure note as it’s being built on a temp link.

Thanks!

Hi @core365,

Thanks . for writing in and the URL!

Can you please try this CSS and let us know if that works.

.x-navbar-fixed-top-active .masthead {
    position: fixed;
    width: 100%;
    z-index: 9999;
}

Hope that helps!

This is something related to a custom CSS code and further customization is out of our theme support scope.

If you would like to learn CSS, I am sharing few resources that you take a look to get started with CSS and an interesting tool that you can use to speed up the development process.

I recommend you to watch following video that will help you to get started with CSS.

https://www.youtube.com/watch?v=MFR4WXiLzpc

Sometimes it can get a bit difficult to find out the right selector to be able to write the required CSS codes. A handy tool that can help you in this is Google Chrome dev tools. I am sharing the resource that you can refer to get started with dev tools.

https://developers.google.com/web/tools/chrome-devtools/css/

https://developers.google.com/web/tools/chrome-devtools/

https://www.youtube.com/watch?v=tP_kXBJWPhQ&t=200s

Thanks.

Yep, you’ve sorted it! Thank you so much!!!

Cheers!

You’re most welcome!

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