Skip navigation
Currently Being Moderated

Menu list item background no longer works on active

Nov 28, 2012 1:07 PM

For some odd reason my different color active menu list item background color is no longer showing, except on the home page. The code is below:

 

 

 

#navigation ul li:hover,#tx-navigation ul li.active{     background: url(../../images/style1/nav-bg-active_png32.png) repeat-x;     color: #181818;

 

It works on hover, but not on active.

 
Replies
  • Currently Being Moderated
    Nov 28, 2012 1:21 PM   in reply to Paevo Kelley

    Are you talking about :active from...

     

    :link

    :visited

    :hover

    :focus

    :active

     

    or a separate class called .active that you've created (which is what your code shows)?

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 28, 2012 1:26 PM   in reply to Paevo Kelley

    Active = on MouseClick.  It doesn't stick on new pages.

     

    If you're looking for "you are here" menu highlighting, look at this article. 

    http://alt-web.com/Articles/Persistent-Page-Indicator.shtml

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 28, 2012 1:58 PM   in reply to Paevo Kelley

    OK.  You'll need a script.  You can get one from Project Seven's Uberlinks tutorial.

    http://www.projectseven.com/tutorials/css/uberlinks/

     

     

     

    Nancy O.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points