[resolved] Highlight of Current Page Not Working In Firefox. (5 posts)

  1. Milo Bozovich
    Posted 2 years ago #

    So I figured out how to highlight the current page in my WP theme menu, and I was happy.. Until I realized it only works in Chrome and not in Firefox.

    Here is the CSS:

    #access li.current_page_item a { background-color:#f2f2f2; }

    Works like a charm in Chrome, but on Firefox doesn't show up at all. Any suggestions?

    Thank you in advance.

  2. WPyogi
    Forum Moderator
    Posted 2 years ago #

    No way to help with something like this without seeing the page. Have you validated the page for coding errors?


    Browser inconsistencies are often due to invalid code...

  3. Milo Bozovich
    Posted 2 years ago #

    I did, and although its not perfect I don't see anything that could be messing with the above code.. For this feature, I have not coded anything except "#access li.current_page_item a { background-color:#f2f2f2; }" in the css. This works great in Chrome, but not at all in firefox.

    IF u want to see the site its here

    TO make sure its not a coding error problem as you suggest, I will try installing a wordpress theme from scratch and adding this feature to twentydeleven theme and see if I have the same problem.

    Thank you.

  4. Milo Bozovich
    Posted 2 years ago #

    OK so I just fixed it.. And oddly enough, I did it by taking the code that I had in the custom styles.css section.. And pasting in the custom CSS section under "Theme Options"..

    I have no clue why the same piece of code would all of a sudden work by being placed into a different section, but I am just happy to have found a solution..

  5. WPyogi
    Forum Moderator
    Posted 2 years ago #


Topic Closed

This topic has been closed to new replies.

About this Topic