Closed (fixed)
Project:
Drupal core
Version:
6.12
Component:
menu system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Jul 2009 at 03:43 UTC
Updated:
5 Aug 2011 at 20:24 UTC
Hello,
My website has pages that shows information about environment, Geographical system and so on.
I have used nice menu to show the menus.
I want to change the color of the nice menu ,the right and left side bar and the background color of each page depending on the information it contains.
e.g. green shade on environment page.
To achieve this I may require different css to be loaded on the fly(dynamically)
How I can do this for pages and nice menu?
Thanks.
Comments
Comment #1
devin carlson commentedDrupal a number of tags to the
<body>tag when the page is generated such as the current content type.You can adjust the colors of certain sections of your website by overriding your theme's base colors.
For example, you could create a content type called "environment".
By default, paragraph text would appear black:
But on a page that is made using the tree content type, you could make paragraph text green:
If you require a very specific case, try adding your own classes to the body.