Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #3242

    Hi, this is another question that need your support:

    I’ll like to activate the menu highlights not only if we are in the direct page of the first LI item, but also for all sub-page – sub-entry!






    |-> CCC

    |-> DDD

    Its possible to have the BBBB menu entry Highlights when we are also in CCC or DDD page – entry? thanks a lot

    And also, if we have a BBBB entry that as no link (point at nothing) it’s possible to not assign the “a link” for change the css aspect of this “dead” entryes?




    yes it’s possible but you must use the WP3 menu manager to create your menu first. You can find a tutorial here:

    WP will attach some classes to the main menu links which help us to style them individually. Add following code to style.css to style the current page item or the parent of the current page item:

    li.current-page-ancestor a, li.current-menu-ancestor a, li.current-menu-parent a, li.current-page-parent a, li.current_page_parent a, li.current_page_ancestor a, .nav li.current_page_item a, .nav ul li.current-menu-item a, .nav ul li.current-page-ancestor a, .nav ul li.current-post-ancestor a {
    color: #ff0000 !important;

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Main menu -> Highlights menu "where we are" for SUB-PAGE and SUB-MENU-ENTRY’ is closed to new replies.