Site logo

[Resolved] Primary navigation doesn’t align with secondary navigation using Flexbox

Home Forums Support [Resolved] Primary navigation doesn’t align with secondary navigation using Flexbox

Home Forums Support Primary navigation doesn’t align with secondary navigation using Flexbox

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1498366
    Clayton

    Hey guys,

    I’ve changed over to using flexbox which all around is better than floats but I’ve noticed the navigations aren’t aligned now. I don’t have any custom css that would be effecting this. I have a max-width set in the theme settings and have the inner navigations contained and floating but I’m still seeing the issue.

    See my screenshot: https://imgur.com/a/EgCUPKU

    Any thoughts on why this would be happening?

    #1498620
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the site in question?

    You can use the private information field.

    Let me know 🙂

    #1498655
    Clayton

    Hey Leo, I’ve linked the site in the private section. Thank you.

    #1498673
    Leo
    Staff
    Customer Support

    Can you disable Autopimize so I can inspect the code properly?

    #1498679
    Clayton

    Okay, it’s been disabled.

    #1498684
    Leo
    Staff
    Customer Support

    Still not able to view the source.

    Are you using any caching plugins as well?

    Can you make sure they are disabled?

    Thanks 🙂

    #1498687
    Clayton

    Hmmm, I’m not sure. That is the only caching I have enabled on this site. Can you try again?

    #1498713
    Leo
    Staff
    Customer Support

    Are you using Text for the Content Alignment option in Layout > Container?

    If so can you try Boxes instead?

    #1498716
    Clayton

    So that seemed to fix the menu but now the body content and the navigation aren’t in line which is why I had align with text selected.

    https://imgur.com/a/AehiyKA

    #1498724
    Leo
    Staff
    Customer Support
    #1498727
    Clayton

    Ahh, yeah I guess that makes sense. I adjusted the width to account for the padding applied and it seems to be working now. It still isn’t in line on mobile but that isn’t too big of a deal. Thanks for looking into it.

    #1498729
    Clayton

    For others who might use this thread. If you set the mobile mobile menu item width to 0 it fixes the alignment issue on mobile.

    #1498763
    Leo
    Staff
    Customer Support

    Glad to hear!

    Nice looking site using GB 🙂

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