Menu will not align center + breadcrumbs off cannot be saved

Hi there, with this I’ve tried to center align my menu but when resizing screen it still aligns left?

.x-navbar .desktop .x-nav > li > a:not(.x-btn-navbar-woocommerce) {
padding-left: 0 !important;
padding-right: 0 !important;
min-width: 222px;
text-align: center;
}

Also, the breadcrumbs just don’t disable. I save in X options but with no effect?

Looking forward to your solution :slight_smile:

Hi there,

Please try adding this code to the Global CSS:

.masthead-stacked .desktop .x-nav {
    max-width: 680px;
}

As for the breadcrumbs not saving, it is a known bug that is already added to our issue tracker.

For the meantime, please add this code to the Global CSS as well:

.x-breadcrumb-wrap {
    display: none;
}

Hope this helps.

Regarding breadcrump it’s gone :slight_smile: However the breadcrump seperated the content from the menu, so I’d like to have a spacing between the posts/pages headline and the menu as on the frontpage (background visible) but without increasing it further on the frontpage. I hope you can follow me.

Regarding the menu alignment - is it not possible to utilize the whole width of the page (as the logo does it) but still making the menu centered when making the page narrower? E.g. when one menu item is in the last row it still aligns left.

Hello There,

Do you want something like this?

If that is the case, please add the following CSS code in the X > Theme Options > Global CSS (http://prntscr.com/evui3r). This code will give you space between the header and the post content.

.single .hentry .entry-wrap {
    margin-top: 20px;
}

For you menu, you may want to check out the center alignment of the items by using this code:

.x-navbar .desktop .x-nav {
    text-align: center;
}

.x-navbar .desktop .x-nav>li {
    float: none;
    display: inline-block;
}

Hope this helps.

That’s just perfect. I thought I had tried some of that but apparently not - Great learning from you :slight_smile: (I added spacing to pages as well).
Thanks for your help.

Hi @jbrogaard,

Happy to hear that.

Feel free to ask us again.

THanks.

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