Site logo

Archived topic

how to add a body class to a page template

2 replies · Started by Chad Biggs on February 15, 2016

Viewing posts 1–3 of 3

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

-Chad

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

You could do something like this:

.my-specific-selector .container.grid-container {
    max-width: 100%;
}
This archived topic is closed to new replies.