Support » Fixing WordPress » Wp_nav_menu page-item-ID and page_item classes

  • I’ve relied on the page-item-ID class to add specific styling to nav items based on custom fields, but it seems that it’s only working once you’re actually on that page in current WP releases.

    Seems a bit strange, but I couldn’t find any bug issues around it…

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Wp_nav_menu page-item-ID and page_item classes’ is closed to new replies.