Closed (works as designed)
Project:
MuchoMenu
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 May 2011 at 19:49 UTC
Updated:
14 May 2011 at 04:00 UTC
Is there a way to edit the CSS to change the look of the menu parent for the current page. For example if there is a menu item of About Us and you are on the about us page can the About Us menu item be highlighted?
Comments
Comment #1
noahlively commentedIf you look at the HTML structure of the MuchoMenu output, the "a" tag for the parent menu item has a unique class. Something like "muchomenu-item-5".
Most Drupal themes put some kind of class in the "body" tag that you can use to determine which page you are on in CSS.
So... for example, you can do something like this.
If you need additional customization in your HTML output, you can override one of the muchomenu theme functions in your own theme. If you are not a programmer, this might be a bit tricky. So I would definitely try the first suggestion before you go down that road.
Let me know how it works for you.
Noah
Comment #2
apb1991 commentedThanks that is what I needed to know!