[Support request] How to have different container width for primary navigation?

Home Forums Support [Support request] How to have different container width for primary navigation?

Home Forums Support How to have different container width for primary navigation?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1065582
    Py

    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?

    #1065665
    Leo
    Staff
    Customer Support

    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 🙂

    #1067584
    Py

    Hi Leo,

    This doesn’t seem to work. Here are my Primary Navigation settings, maybe I should apply it to a different class element?

    2019-11-19_2206

    #1067625
    David
    Staff
    Customer Support

    Hi there,

    try:

    .main-navigation .grid-container {
        max-width: 1000px;
    }
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.