[Resolved] How to set different container widths for different pages.

Home Forums Support [Resolved] How to set different container widths for different pages.

Home Forums Support How to set different container widths for different pages.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #111904
    Dhruv

    Dear Tom,

    How Can I set different container widths for different pages.

    Thanks

    #111915
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    First, you’ll need to know the ID of the page – you can do this using Inspect Element in Chrome, or Firebug in Firefox.

    The element has a class that looks like this: page-id-1 – 1 being the ID of that page.

    Then add this CSS:

    body.page-id-1 .grid-container {
          max-width: 1000px;
    }

    #111951
    Dhruv

    Great… Thanks.

    #112031
    Tom
    Lead Developer
    Lead Developer

    No problem! 🙂

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