1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Styling Joomla 2.5 Active Menu Item

Discussion in 'Joomla' started by Rankx, Apr 22, 2012.

  1. #1
    As the topic says, I would like to know how to I style the active menu item in Joomla 2.5. In Joomla 1.5 an .active class was added to the menu item so I was able to style it easily in the css. This does not work for Joomla 2.5. Has anyone figured out how to do this?
     
    Rankx, Apr 22, 2012 IP
  2. r.arifur

    r.arifur Greenhorn

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #2
    Use Firefug in your joomla template to see the active menu class.
     
    r.arifur, Apr 28, 2012 IP
  3. FCM

    FCM Well-Known Member

    Messages:
    669
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    155
    #3
    Yeap - different template frameworks have different values. But it's generally something like

    <style>
    ul.menu li.active a{ }
    </style>
     
    FCM, May 20, 2012 IP