[Resolved] Navigation won't float right

Home Forums Support Navigation won't float right

  • This topic has 5 replies, 2 voices, and was last updated 8 months ago by David.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1178217
    Andrew

    Hi GeneratePress,

    I can’t thank you enough for your amazing theme. It’s really helped me out the last couple of years.

    Recently, I was given a GeneratePress site to do a partial redesign. I need to update the home page; however, when I set Header Layout to Navigation Right and Primary Navigation Layout to Float Right, it doesn’t want to float right. It’ll align right, but it’s not floating opposite the logo.

    I’m using a Header Element on the home page to merge the background image with the logo and nav and add the transparent blue background.

    (The site’s privacy username & password is: flywheel)

    Thanks for your help.
    Andrew

    #1178392
    David
    Staff
    Customer Support

    Hi there,

    this is what i am seeing – what am i missing ? Let me know:

    #1178608
    Andrew

    Hi David,

    Thanks for the quick response.

    Funny. In Firefox, the header is aligning fine; however, Chrome isn’t.

    I’m in working in Development mode so all caching should be turned off and I’ve tested in Incognito mode for both browsers.

    Now I’m noticing in Firefox, the post module at the bottom is getting cut off, but in Chrome it’s fine.

    Any ideas?

    Thanks.
    Andrew

    #1178750
    David
    Staff
    Customer Support

    See this occassionally where browsers interpret CSS Floats differently but not always – but nothing exact that i have a fix for accept for replacing them with Flex box.

    Try adding this CSS:

    @media (min-width: 1024px) {
        .inside-header {
            display: flex;
            align-items: center;
        }
        .site-logo {
            margin-right: auto;
        }
    }
    #1180133
    Andrew

    Thanks, David. That seems to work!

    Cheers.
    Andrew

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