Site logo

Archived topic

menu location.

7 replies · Started by Jusung on February 22, 2023

Viewing posts 1–8 of 8

On this site, can I swtich the location of title and secondary menu?
So, I want to put like this
Title __ secondaryMenu_________________MainMenu

like this.

Hi Jusung,

You can go to Appearance > Customize > Layout > Secondary Navigation, and set the Navigation Location to Float Right. Reference: https://docs.generatepress.com/article/secondary-navigation-location/

If that doesn't work, try adding this:

nav#secondary-navigation {
    order: 6;
    margin-right: auto;
    margin-left: auto;
}

header.site-header .inside-header.grid-container .site-branding {
    margin-left: 0;
}

Can you make the title and the secondary menu attached? I want to little space between those by giving padding.

Actually, can you revert the Navigation Location setting of the Secondary Navigation to its previous setting? That should help us provide a simpler solution for the look you're going for.

just changed!
sorry I was testing some code.

Try this CSS instead:

nav#secondary-navigation {
    order: 6;
    margin-right: auto;
    margin-left: 0;
}

header.site-header .inside-header.grid-container .site-branding {
    margin-left: 0;
    margin-right: 15px;
}

Replace 15px with the spacing value you prefer.

Thank you! it works!

You're welcome, Jusung!

This archived topic is closed to new replies.