Hi,
If any pages in my site has a "deprecated" label for example, I want the page background to change to red.
Is this possible?
Thanks, Erik
Perhaps with a user macro.
Otherwise, instead of adding a label, just add the Style macro with this in the body:
#title-text a::after { content: '-DEPRECIATED'; } #title-text { background: red; } @page { background: red; } .wiki-content { background: red; }
TIP: Once you set up the Style macro, you can just copy and paste the whole macro.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.