[Resolved] Is it possible to extend the container width for only a specific page ?

Home Forums Support Is it possible to extend the container width for only a specific page ?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #129100
    Tom

    I was wondering if it’s possible to extend the container width for a specific page only ?

    I created a table that I would like to insert into my website with the TablePress plugin, but it does not work with my current container width, and I do not want to make it bigger for the whole site, only for that specific page where I want to insert the actual table.

    #129112
    Jean

    You can use CSS to change the container width of specific pages using the ID of the page:

    body.page-id-2 .grid-container {
          max-width: 1250px;
    }

    This will make the container 1250px wide on a page with the ID of 2.
    If you don’t know where to put this, check this tutorial: http://generatepress.com/knowledgebase/adding-css/

    Jean

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