[SalesForce] How to Add Custom CSS Stylesheets to Chatter Communities

Is it possible to add custom CSS stylesheets to Chatter Communities, without building a completely custom site using Force.com Sites or Site.com? Chatter Communities allows customization by inserting an HTML header, but the HTML header is actually injected into the body element of the rendered page.

Furthermore, standard merge fields such as {!Community_Name} that work with email templates and Visualforce are not recognized in the HTML header. This implies to me that the URLFOR() function and Static Resources will not work with this HTML header.

Best Answer

Right now I believe there is no way to do this that wouldn't involve some considerable hacks using Javascript, and even then I suspect getting Javascript to execute would be problematic as it'd likely have to be hosted elsewhere and imported into the page.

As always with these things, hacking it to get it working isn't recommended as future updates to the platform could easily break unsupported techniques, so I'd say your best bet is to either build something custom with sites or to just stick with standard styling and hope more cusomisation is available in the future.