Archived topic
Primary Menu Options
3 replies · Started by Stephen on November 7, 2018
Hi,
I'm try to duplicate the primary menu seen on the attached site. The sub-menus don't need to be transparent, just aligned in a similar way. I don't see any alignment or padding options in GP Pro, or am I missing the obvious?
Thanks
Steve
Hi there,
To replicate the example attached, set the navigation to float right:
https://docs.generatepress.com/article/navigation-location/
Then add this CSS and adjust the px number:
@media (min-width: 769px) {
.main-navigation {
padding-top: 15px;
}
}
When we switch to CSS grid in the future, you will be able to remove this CSS>
Alternatively, you can try using this method as well:
https://docs.generatepress.com/article/navigation-logo/#navigation-as-header
It would be a bit a different from the example site but it's a very popular layout currenntly,
Let me know if this helps :)
Thanks Leo, I'll try the CSS.
Sounds good. Let me know how it goes :)