In our post type templates we put the .page-template class on the div element that is wrapping the post. For some reason the same class can also be on the body element. I couldn't find what is adding the class yet (WordPress, us, sitemap plugin, ... ). An example is the sitemap.
This already caused an issue (maybe more previously) were a rule was matching unintended things, so maybe we should change the name of either the body or the post content wrapper class.
Tasks
Investigate if it's feasible to remove the class from one of the two places
In our post type templates we put the
.page-template
class on the div element that is wrapping the post. For some reason the same class can also be on the body element. I couldn't find what is adding the class yet (WordPress, us, sitemap plugin, ... ). An example is the sitemap.This already caused an issue (maybe more previously) were a rule was matching unintended things, so maybe we should change the name of either the body or the post content wrapper class.
Tasks
Potentially affected repositories: planet4-master-theme