Best bet is probably to use a macro to decide which stylesheet to load in. If you want the editors to have control over which stylesheet on a given page/area, you could add a Dropdown field and populate it with some available stylesheet choices. You could also use the File DropDownList datatype in uComponents and point it to your /css/ folder (or even a subfolder like /css/themes/) to allow them to pick from. There's a similar example in this post.
CSS Style Switchers - Does anybody know of a good one for Umbraco??
Hi Guys,
I'm setting up a series of websites for a diversity recruitment company and need to include styleswitchers to change both colour and font sizes.
Do any packages exist that would help me out? Failing that, does anybody know of a XSLT / CSS combo that would accomplish this?
Cheers guys
Hi Brian,
Best bet is probably to use a macro to decide which stylesheet to load in. If you want the editors to have control over which stylesheet on a given page/area, you could add a Dropdown field and populate it with some available stylesheet choices. You could also use the File DropDownList datatype in uComponents and point it to your /css/ folder (or even a subfolder like /css/themes/) to allow them to pick from. There's a similar example in this post.
Hope this helps,
Tom
is working on a reply...