Ability to add CSS IDs / class names to page templates
It would be very helpful to be able to target a particular page template, as each page template within a particular website theme uses the same IDs and classes for it's hard coded elements.
I can workaround this by targeting each page ID, but being able to target each page template would be very helpful.
-
Alex Sirota commented
It is possible to use Custom HTML to assign page template level CSS that is inherited by the pages that use it. Here's how to set a page template level BODY tag change to swap out the background image:
<style>
body { background-image: url(https://newpathconsulting.wildapricot.org/resources/Theme/template_backgroundimages/imageWA.png); background-size: cover; background-repeat: unset; background-attachment: fixed; background-color: navajowhite; background-blend-mode: unset; }</style>What would be nicer is to be able to assign a full tag like this in a Custom CSS settings of a page template. Inline styles currently are only available for gadgets so it would be ideal to be able to add this code on the settings of the page template, just like they could be done on a page.
-
Merge commented
I would like to vote for this as well. This would be extremly handy.
-
Evgeny Zaritovskiy commented
Thanks for the suggestion, we will consider this for future versions.