Using a separate stylesheet for a custom page template?

Hi there,

Hoping you all can help me here. Because of some complicated requirements, I need some pages on my staging site, for example http://csazcontentreo.wpengine.com/who-we-are/about-us/azcan/, to look like the inner pages on the production site, https://collegesuccessarizona.org/who-we-are/about-us/azcan/.

On my staging site, I’ve created a custom page template. My question is: how can I get that specific custom page template to use a different stylesheet than the other pages? Is that achievable with X?

Thank you very much!

Hi There,

Thanks for writing in! I see that your referenced page has the following class applied to body CSS page-template-CSAZ_Inner_Page_Template . You can use that class to target your page elements. Or you can use the page ID page-id-630

For example:

.page-id-630 .container {
padding:20px
}
.page-id-630 .article {
width:100%
}

Hope that helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.