Type in your suggestion - new feature or improvement idea

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.

8 votes
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)

We’ll send you updates on this idea

DotCreativity shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

3 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...
  • Alex Sirota commented  ·   ·  Flag as inappropriate

    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  ·   ·  Flag as inappropriate

    I would like to vote for this as well. This would be extremly handy.

Feedback and Knowledge Base