Archived topic
How to have different container width for primary navigation?
3 replies · Started by Py on November 17, 2019
Viewing posts 1–4 of 4
Hi
I don't want to have full width for my menu. I just want the container width to be slightly larger than the container width of my blog posts.
How do I achieve this in generatepress?
Hi there,
Try this CSS:
.main-navigation.grid-container {
max-width: 1000px;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know if this helps :)
Hi Leo,
This doesn't seem to work. Here are my Primary Navigation settings, maybe I should apply it to a different class element?
Hi there,
try:
.main-navigation .grid-container {
max-width: 1000px;
}
This archived topic is closed to new replies.