I'm trying to hide the overflow in CSS for specific template pages but can't seem to get it to work - I know that template pages are prefixed with a class but this doesn't seem to help targeting.
I think I could use the is_page_template() function to hide the overflow with JS but this should be simpler with CSS.
So this works...
html {
overflow: hidden;
}
but this doesn't work...
html .page-template-showreel-php {
overflow: hidden;
}
Any ideas why? Surely this should be possible with CSS.