Support » Theme: GeneratePress » How to adjust the main content width on a per post basis

  • Resolved michaelgof

    (@michaelgof)


    the main content container width is set to 1000px in the customizer and this applies to all blog posts.

    i want to set this main container width on a per post basis. let’s say to 830px.

    how do i achieve that?

    i have simple css plugin installed and it shows a metabox at the bottom of each blog posts.

    i think css will do the job but i don’t know which css properties to edit to change the width from 1000-830px.

    thanks for your reply.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Tom

    (@edge22)

    Hi there,

    If you’re using the Simple CSS metabox, you can do this in each one:

    body .grid-container {
        max-width: 830px;
    }

    Let me know if you need more info 🙂

    thanks alot. that worked.

    • This reply was modified 6 months, 2 weeks ago by michaelgof.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to adjust the main content width on a per post basis’ is closed to new replies.