Share » Forums » Setup & design » Different css for each node possible?

Different css for each node possible?

Different css for each node possible?

Friday 30 January 2009 5:22:26 am - 2 replies

Author Message

Fátima Chapri

Friday 30 January 2009 12:13:41 pm

Hi Noicokuna,

I tried that once and I worked with the class of the main div of the page.

Let's Imagine an example where the id of the node you want to have in a different color is 2. Than, the div#page will be presented like:

<body>
<div id="page" class="sidemenu extrainfo section_id_1 subtree_level_0_node_id_2 current_node_id_2">
......
......
</div>
</body>

You can use the class

.current_node_id_2

to define different colors for each node.

Noicokuna Niemoge

Saturday 31 January 2009 5:41:48 am

Thank you :)

So it means that I'll have to create styles for each child node as well. Well, but it's good it's possible at least. :)

Shiki soku ze ku...

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu