How to list menu-item- ids in order for wp_nav_menu August 26, 2022 by Tarik Billa If you can stand to not have it be backwards compatible, CSS3 introduced the nth-child selector, you could leverage that