WordPress.org

Forums

Stitch
Highlight parent menu item (1 post)

  1. abveritas
    Member
    Posted 1 year ago #

    Currently code for highlighting focus page is:
    .main-navigation li.current_page_item a,
    .main-navigation li.current-menu-item a {
    color: #f7f6f2;
    }

    Seems to me the theme is missing highlighting parent:
    .main-navigation li.current_page_item a,
    .main-navigation li.current-menu-item a,
    .main-navigation li.current_page_ancestor a {
    color: #f7f6f2;
    }

    Adding the last line works to highlight main menu item, while being on a sub-page

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.