WordPress.org

Ready to get started?Download WordPress

Forums

Stitch
Highlight parent menu item (1 post)

  1. abveritas
    Member
    Posted 9 months 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

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.