[Resolved] Vertical alignment of floating menu

Home Forums Support [Resolved] Vertical alignment of floating menu

Home Forums Support Vertical alignment of floating menu

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1450062
    Ketil

    Hi. Is there a way to vertically align a horizontal menu floating to the right of the logo, without also effecting the logo?
    The only setting I found that effect this, is height of menu item, but perhaps there is another way without writing css?

    #1450157
    Leo
    Staff
    Customer Support

    Hi there,

    Is this a live site with traffic?

    If not then you could consider using GeneratePress 3.0 which is currently in beta.

    If you switch over to Flexbox then the menu should be vertically aligned by default:
    https://generatepress.com/generatepress-3-0-a-new-era/

    If not we can come up with other solutions as well.

    Let me know πŸ™‚

    #1450215
    Ketil

    It’s going live october 1st

    #1450220
    Leo
    Staff
    Customer Support

    That case I’d recommend going with the 3.0 beta for now.

    Let me know what your thought is.

    #1450226
    Ketil

    I’ll try it. I’ll deactivate current GP-version, then install the beta?

    #1450232
    Leo
    Staff
    Customer Support
    #1456009
    Ketil

    As it turns out, the site use a childtheme to hold some custom code, so I can’t use a different theme to solve this. Any quick fix will do πŸ™‚

    #1456263
    Leo
    Staff
    Customer Support

    Try this:

    @media (min-width: 769px) {
        .inside-header {
            display: flex;
            align-items: center;
        }
        .nav-float-right .inside-header .main-navigation {
           float: none !important;
           margin-left: auto;
        } 
    }
    #1456860
    Ketil

    yes, that did it, thanks!

    #1457207
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

    #1467138
    Ketil

    Hi. A problem occured when adding this code, it “messed up” the header element for posts.
    https://generatepress.com/forums/topic/element-css-problem/#post-1467127

    #1467189
    Ketil

    Solved.

    #1467651
    Leo
    Staff
    Customer Support

    Glad to hear πŸ™‚

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