Shape 5

Joomla Templates => Hexicon Gamer - Club => : proyectog April 21, 2012, 06:22:31 PM



: Link CSS Style in Main Menu not applying any class to the code
: proyectog April 21, 2012, 06:22:31 PM
Hi, i'm using Hexicon-Gamer template and i have 3 menus.

In the main menu when i want to use different style in some menu buttons im following these steps:

Menu config

 - Link CSS Style: classRogue

now save

in my template.css:

a.classRogue {
    color:#ff0000 !important;
    padding: 5px;
}

Reload the web page, cleaning the nav cache...

none happens...

My menubutton is exactly the same.

If i analize the code, the a link of this menu "isnt applying the classRogue".

In the other 2 menus, the Link CSS Style is applying correctly a class to the a link.

P.D.: sorry for my bad english.


: Re: Link CSS Style in Main Menu not applying any class to the code
: mikek April 23, 2012, 07:54:25 AM
Hello,

It's not possible to make different menus appear differently, they all use the same class names.


: Re: Link CSS Style in Main Menu not applying any class to the code
: michaelbud May 02, 2012, 09:24:41 AM
Mike,

As of Joomla 1.7 there is a parameter in the Menu Manager: Edit Menu Item under Link Type Options parameters called  Link CSS Style

Here is an article explaining what it SHOULD do. http://writenowdesign.com/joomla-user-guide/132-joomla-16-joomla-17-include-article-title-in-the-read-more-link (http://writenowdesign.com/joomla-user-guide/132-joomla-16-joomla-17-include-article-title-in-the-read-more-link)

I am having the same problem in the Construction template getting this feature to apply a custom CSS class to a particular menu item. in both the main menu (as defined in the template manager) and the S5 Accordion Menu.