[Resolved] Nav in header, plus widget

Home Forums Support [Resolved] Nav in header, plus widget

Home Forums Support Nav in header, plus widget

  • This topic has 3 replies, 2 voices, and was last updated 4 years ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #833478
    Damon

    Hi, I put a logo and primary nav (floating right) in the header, and it looks great. But now I want to add a widget to the row as well: logo far left, then primary nav, and then widget to the far right. But can’t figure out how to get all three in one straight line. Can you help? Thank you!

    GeneratePress 2.2.2
    GP Premium 1.7.8
    #833747
    David
    Staff
    Customer Support

    Hi there,

    try this:

    @media (min-width: 768px) {
        .inside-header {
            display: flex;
            align-items: center;
        }
        .site-logo {
            margin-right: auto;
        }
        .header-widget {
            order: 3;
            top: 5px !important;
        }
    }
    #835882
    Damon

    This worked great. Thank you!

    #835931
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.