Custom CSS on menù

AppSite - Professional Business Template for Joomla support forum.
GK User
Wed Aug 08, 2012 1:48 pm
Hi from Italy, i need to customize one of my menu.

As you can see in the JPG attacched the standard menù is :

- standard appearence : label white, background black
- active or on over menu : label black, background white


I would like to change this parameters FOR ONLY the menu called "Iscrizioni 2012" :

- standard appearence : label white, background red
- active or on over menu : label red, background white

I need that modify to show up the menu to the visitors of my website.

It's possible ?


Thanks.


Leonardo (Italy)
User avatar
Fresh Boarder

Konrad M
Wed Aug 08, 2012 2:01 pm
Hi,
yes you can. First you need add some class to this menu item. You have to go to menu item settings. In right column find 'Menu Params (GavickPro)'. Here you will find 'Additional class' option. Add your class here for example 'myclass' Then please try add to override.css:
Code: Select all
div.gk-menu ul.level0 > li.myclass > a, #gkDropMain ul > li.myclass > a {
color: #fff;
background: #000;
}
div.gk-menu ul.level0 > li.myclass:hover > a, #gkDropMain ul > li,myclass:hover > a, div.gk-menu ul.level0 > li.myclass.active > a, #gkDropMain ul > li.myclass.active > a {
color: #000;
background: #fff;
}

and remember to enable override.css option in template settings.
User avatar

GK User
Wed Aug 08, 2012 3:46 pm
Hi Konrad, i'm in difficult to find in Joomla administration what you say :

"You have to go to menu item settings. In right column find 'Menu Params (GavickPro)'. Here you will find 'Additional class' option"

Can you post a screenshot where are this option ?

Thanks
User avatar
Fresh Boarder

Konrad M
Thu Aug 09, 2012 10:13 am
Yes, sure.
attachment.png
User avatar

GK User
Fri Aug 10, 2012 8:01 am
Hi Konrad, sorry but i can't view this option/menu as you show. I have Joomla 1.5.8 ...this is the reason ? :(


Konrad M wrote:Yes, sure.
attachment.png
User avatar
Fresh Boarder

Konrad M
Fri Aug 10, 2012 8:33 am
Yes definetly. But in joomla 1.5 you will find 'Additional Class' option in 'Parameters (Extended)' section located in right column of menu item settings.
User avatar


cron