Forum Support

Shape 5
March 28, 2024, 02:37:09 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Link CSS Style in Main Menu not applying any class to the code  (Read 414 times)
proyectog
Jr. Member
**
Offline Offline

Posts: 1



« on: 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.
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: 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.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
michaelbud
Jr. Member
**
Offline Offline

Posts: 39



« Reply #2 on: 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

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.
« Last Edit: May 02, 2012, 09:30:35 AM by michaelbud » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.