Hi there,
Currently in the navbar, the logo is stacked to the left, and the menu items are stacked to the right.
How can I centre them, so the logo and the menu items are in the centre/middle of the navbar?
Thank you!
Hi there,
Currently in the navbar, the logo is stacked to the left, and the menu items are stacked to the right.
How can I centre them, so the logo and the menu items are in the centre/middle of the navbar?
Thank you!
Hello @Jeypolitan,
Thanks for asking. 
To center align navbar and logo, please add following CSS under X > Theme Options > CSS:
.x-navbar-inner .x-container {
display: flex;
justify-content: space-around;
}
If you would like to learn about CSS flex property, please take a look at following resource:
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.
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/
Thanks.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.