Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Brian Milman-Hurst 48 posts 76 karma points
    Sep 04, 2012 @ 12:10
    Brian Milman-Hurst
    0

    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

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Sep 06, 2012 @ 17:07
    Tom Fulton
    0

    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 

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies