Add ‘first’ and ‘last’ classes to nav items
This comes in handy when you need to target the left and right (or top and bottom) ends of your navigation. Add it to your functions.php file.
This comes in handy when you need to target the left and right (or top and bottom) ends of your navigation. Add it to your functions.php file.