Support » Fixing WordPress » IF Current menu item AND a particular ID

  • Hi guys, I need to define some CSS for the current menu item AND if it corrispond to an X ID. For example it’s #menu-item-249, and it’s current.. it should be something like:
    .main-navigation .current-menu-item > #menu-item-249 a, .main-navigation .current-menu-ancestor > #menu-item-249 a, .main-navigation .current_page_item > #menu-item-249 a, .main-navigation .current_page_ancestor > #menu-item-249 a

    ..?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘IF Current menu item AND a particular ID’ is closed to new replies.