Adding a custom class (page type) to the body tag
Problem is that my body is in the header element. I know how to add a custom class to a specific page:
<body class="<?php echo $c->getCollectionHandle(); ?>">
But this has to be for pre-written styles.
What is the correct call to get the page type name?
For thos who come across this post... look here:
The snip of code at the bottom of the page is your starting point.