Web Analytics Made Easy -
StatCounter Overriding menu a tag in li.active-trail - CodingForum

Announcement

Collapse
No announcement yet.

Overriding menu a tag in li.active-trail

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Overriding menu a tag in li.active-trail

    I am working in Drupal and have a menu with secondary levels. I have coded css on the menu a tag with borders and no background.

    .primary-menu-inner ul.sf-menu a {
    color: #FFFFFF;
    display:block;
    border-left:1px solid #ffcc33;
    border-right:1px solid #6f4c23;
    }

    I am trying to override the .primary-menu-inner ul.sf-menu li.active-trail

    .primary-menu-inner ul.sf-menu li.active-trail {
    background: url(../images/nav.png) no-repeat right -64px;
    border-bottom:1px solid #a67c52;
    border-right:1px solid #a67c52;
    border-left: 1px solid #38230b;
    visibility: visible;
    }

    to where the borders settings on the a tag does not show up on the li.active trail.

    Any suggestions would be great...

    [ATTACH]10281[/ATTACH]
    Last edited by cmbrooks46; Sep 9, 2011, 07:41 PM. Reason: Add screenshot

  • #2
    [ATTACH]10281[/ATTACH]

    Comment

    Working...
    X
    😀
    🥰
    🤢
    😎
    😡
    👍
    👎