[Support request] How can I change the container width of just posts and keep pages as they are?

Home Forums Support [Support request] How can I change the container width of just posts and keep pages as they are?

Home Forums Support How can I change the container width of just posts and keep pages as they are?

  • This topic has 3 replies, 2 voices, and was last updated 7 years ago by Leo.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #304065
    kyle

    How can I change the container width of just posts and keep pages as they are?

    Thanks in advance

    Kyle

    #304067
    Leo
    Staff
    Customer Support

    Hi Kyle,

    You are referring to single posts I assume? If so try this CSS:

    .single .grid-container {
        max-width: 1000px;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know.

    #304149
    kyle

    Okay, this worked but now I have another unforeseen issue. I would like my nav bar to remain the same width as on the other pages and not expand with this larger post container size.

    Would you happen to know how I can achieve this?

    Thank you ๐Ÿ™‚

    #304155
    Leo
    Staff
    Customer Support

    Try this CSS instead:

    .single .site.grid-container {
        max-width: 1000px;
    }

    Let me know ๐Ÿ™‚

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