[Resolved] Categories in Header?

Home Forums Support [Resolved] Categories in Header?

Home Forums Support Categories in Header?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #240584
    Aaron


    How was the categories placed into the header like done here at Generatepress?

    #240605
    Tom
    Lead Developer
    Lead Developer

    I created a menu in “Appearance > Menus” and gave it the “Primary” theme location.

    Then you can place it to the right of your logo by going to “Customize > Layout > Primary Navigation” and set your “Navigation position” to “Float right”.

    Hope this helps πŸ™‚

    #245019
    Aaron

    Thanks I also was wondering if you could help me align the categories I have in my header all the way to the right even though it’s set to float right it’s still not all the way to the right.
    Btw I got the chance to make a small contribution, thanks for your support πŸ™‚

    #245027
    Tom
    Lead Developer
    Lead Developer

    Thank you for the donation! I really appreciate it πŸ™‚

    Couple things:

    1. In “Customize > Layout > Header”, you have 40px of padding to the right of the header.
    2. You have this CSS added:

    .secondary-nav-float-right .secondary-navigation {
        margin-right: 30px;
        margin-top: 3px;
    }

    Removing the header padding (to the right) and the margin-right in the CSS should fix this for you πŸ™‚

    #245052
    Aaron

    Worked like expected thanks πŸ™‚

    #245063
    Tom
    Lead Developer
    Lead Developer

    You’re welcome πŸ™‚

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