Page 1 of 1

i'd like a different css on every page with one template

Posted: Sat Jul 09, 2011 7:45 am
by woutersesroem
Id like a different css on every page with one template. How do i do that? The solution could be create different templates. But that is not a very nice solution. Is there a module that does the trick?

You can see my testpages on:
http://www.riooladvies-michel-sikkes.nl/web/
the link to "activiteiten" shows a different background image.

Please help.

Re: i'd like a different css on every page with one template

Posted: Sat Jul 09, 2011 8:21 am
by RonnyK
You could use classes that you put based on page_alias or root_page. Using that class you can style differently...

See for an example...

http://forum.cmsmadesimple.org/viewtopi ... ndom+image

Ronny

Re: i'd like a different css on every page with one template

Posted: Sat Jul 09, 2011 9:42 pm
by woutersesroem
Thanks!
I'm going to give it a try.

Wouter