Site logo

Archived topic

Categories in Header?

5 replies · Started by Aaron on October 31, 2016

Viewing posts 1–6 of 6


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

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 :)

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 :)

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 :)

Worked like expected thanks :)

You're welcome :)

This archived topic is closed to new replies.