[Support request] Navigation Logo issue

Home Forums Support Navigation Logo issue

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1020801
    Gary

    Hi,

    On my previous websites built with GeneratePress the way I added a logo was via Customising > Layout > Primary Navigation. I used to then centre the menu and all looked good. I don’t have this option any longer and I note the following article I found:

    https://generatepress.com/forums/topic/cant-find-navigation-logo-option/

    Noe I don’t have an issue with adding the logo this way and it is on the same line as the menu which is good. However if I centre the menu text the logo centres too and it does not look right to me. If I right justify then the logo seems to stay far left but the text goes right which also looks odd. So why is it the right justified only impacts the text and not the logo but centre justified impacts the logo too?

    Gary

    #1020874
    David
    Staff
    Customer Support

    Hi there,

    GP now uses flexbox inside the navigation which causes this to happen.
    To get around it, when you have the nav set to Center, you can add this CSS:

    #primary-menu {
        flex: 1;
    }

    Note: this centers the nav in the space available to it. Not deadcenter of the screen.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.