[Support request] different widths for blog and single post and pages

Home Forums Support [Support request] different widths for blog and single post and pages

Home Forums Support different widths for blog and single post and pages

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1536799
    Mike

    I can set the width in customizer > layout

    However, I want single pages and post to be a different width.

    I have tried setting layout to 1100
    and used this
    body.single .site.grid-container {
    max-width: 800px;
    }

    But that does not change the single size

    In fact, I’ve used this in the past, but it no longer works

    body.blog .site.grid-container, body.archive .site.grid-container {
    max-width: 1100px;
    }
    Got any ideas how i can get this done?

    Thanks

    #1536808
    Leo
    Staff
    Customer Support

    Hi there,

    Try creating a layout element for it:
    https://docs.generatepress.com/article/layout-element-overview/#content-1

    I went over this in this tutorial video as well:

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