Adding new page template to Elemental in 5.7.04
Permalink
In Elemental under clean install of 5.7.04, I'm getting a strange inject to the ccm-page class just before the [body] tag when I add a new page template to the theme. Specifically, it wraps the page in:
rather than simply:
This results in a failure to close a section <div> in the rendered page, except when I am in edit mode - then the page renders properly.
How do I fix this? I see no where in Elemental where it specifies "page-type-page," nor anywhere to modify the page template other than the icon. I searched github and the forums, but could not find an answer.
Help?
<div class="ccm-page page-type-page">
<div class="ccm-page">
How do I fix this? I see no where in Elemental where it specifies "page-type-page," nor anywhere to modify the page template other than the icon. I searched github and the forums, but could not find an answer.
Help?
The specified line you where looking for is found in the header_top.php within the elements folder and refers to this bit
This outputs the page type and page template being used so you can target those pages.