Tag Archives: add custom classes to wordpress navigation menus

How to Add the First and Last CSS Class to WordPress Menu Items

Do you need to add custom styling to the first and last items of your WordPress navigation menu? You could simply add a custom CSS class to the first and last menu items, but if the menu is rearranged, then those items will no longer be first and last. In this article, we’ll show you how to add… Read More »