This plugin will give you the extra class you need in your tag of ALL of the anchestors of WordPress..
This way you will be able to color certain section of site, based on the ancestor no matter how deep is the page.
Now, it's easy to do that but only for 'Web, and 'Print pages because WordPress gives you only the in the body classes in this case, the id of 'Clients 'Eshops and ' Portfolio can also have background, but you will have to add new class in your css with the id of 'Web at your css.
And, if you add pages under 'Eshops, same thing, you will have to add new class in your css file with the id of 'Eshops page.
So, all this is easy if you do it yourself but if you handle the site to editor, that knows to create content you will have to add the in the CSS every time someone adds level to all this..
And you want all the pages under 'Clients to have background you just add to your css.achestor-clients {background red } in your css, and you are done no matter the level the final page is under..
Finaly, the order is with top ancestor first this way, it's in CSS to overwrite the -clients class with the -web attributes..
Upload the plugin files to the wp-content plugins plugin-name directory, or install the plugin through WordPress plugins screen directly...
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Removed the installation of the plugin, and converted it to filter, so the users won't touch their theme 0.9.
Read more