Hi folks,

Does anyone know of a module that would allow a user the ability to choose a style (Basic css, background image/color, font styles. etc.) on a node page they create (page will be displayed using Views)?

I've been searching around but haven't found anything that does exactly what I'm looking but there are so many theme switching modules that I thought I'd ask before I start writing my php.

Thanks,
Rob

Comments

WorldFallz’s picture

I did this once (just for switching node css, not the actual theme) by adding a select list field that lists the different styles, and using that field to add a class to the node div in the node.tpl.php style.

robertem’s picture

Thanks, that's sort of what I was thinking. Did you also override the main css or just style the div?

WorldFallz’s picture

I did just the div, but there's no reason you can't add the class to the body tag instead (via a preprocess function or template file) and use it to style whatever you like.