Menus - Additional Class

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Dec 04, 2012 12:24 am
Reply with quote
Report this post
Hi, I'm hoping to tweek the menu in the Publisher template so that each menu item has a different background color when not active. Can this be achieved by using the "additional class" field in the "Menu Params (GavickPro)"?

If possible can anyone advise the basic principle or provide example.

Thanks
User avatar
Fresh Boarder

GK User
Tue Dec 04, 2012 12:42 am
Reply with quote
Report this post
Hi

Here's an example.
Let's say that i want to give a green background to "Template" link (see the demo).
So i go to "Menu Params (GavickPro)" parameter and set "Additional class" as "[space]green" and save.

screen.jpg


Now place this following code on css and see what happens ;)

Code: Select all
.gkmenu.level0 li a.green {background-color: #88BF02}


Cheers
User avatar
Platinum Boarder

GK User
Tue Dec 04, 2012 7:45 am
Reply with quote
Report this post
Many thanks. Works perfectly!
User avatar
Fresh Boarder


cron