[Support request] How to change container width for specific page

Home Forums Support How to change container width for specific page

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #917420
    Johanna

    Hi I want to change the width for a single page.

    I tried using:

    body.page-id-2911 .grid-container {
    max-width: 650px!important;
    }

    but this also changes the menu width

    #917466
    epickenyan

    Use the elements in Appearance>GeneratePress>Elements. Just select “add new” element, select layout element, then under the content box tab, set the content width to 650px. On Display tab, select “page” under location and from the drop-down list that appears on the right, select the page you want to target then save the hook (after giving it a title). Check the page and see if the changes have taken effect.

    #917553
    David
    Staff
    Customer Support

    Thanks African for helping. Heres the document on that particular setting:

    https://docs.generatepress.com/article/layout-element-overview/#content-1

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