Cyber Week Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Resolved] how to add a body class to a page template

Home Forums Support how to add a body class to a page template

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #172840
    Chad Biggs

    How can I add a body class to a page template?

    -Chad

    #172899
    Chad Biggs

    I discovered I don’t need a body class to accomplish what I’m trying to do, I can just use a really specific selector pulled from the page source. But I cant get it to keep from overlapping the footer widget area. How can I get a 100% width just in the content area of a single page?

    -Chad

    #172907
    Tom
    Lead Developer
    Lead Developer

    You could do something like this:

    .my-specific-selector .container.grid-container {
        max-width: 100%;
    }
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.