Hi everybody!

I am new here and also in drupal. so I have a lot of reading before me...

I would like to change my homepage design, and I would be thankfull if anybody could help me by answering my questoion or linking the forum theread I need to solve my problem.

my site is very simple now and I want to change it like that... so that every menu on the mainbar has a different color, and background. like home is orange, and if you click on it the backgorung turns orange as well. videos button like green, and then backgroung green too. So if you browes between the menus you get a visual help. I hope I am clear since English is not my mother language.

can I make this easy by a click at the main style? or have I to go into programming?

thank you for reading it.

have a nice day,
Rózsa

Comments

BrijeshParmar’s picture

Hi gybogi,

You can use Menu attributes module for give unique class or id to appropriate menu items and using this tag you can add different color for menu items.

For changing home page background:

You can write custom jQuery for change homepage background using unique class or id which was defined in menu-items.

Hope this will help.

manishdrupaldev’s picture

You can do it by applying some css based on class added in body tag while changing on menu link.

.body-class-name {background-color: color-code;}
.body-class-name .active-menu-class {background-color: color-code;}