I’ve looked around quite a bit, and haven’t found any discussion on the matter. In fact, when I check other WordPress templates, it seems like people are either manually inserting horizontal nav bars to insert cool • or | dividers between the links, or they’re simply leaving the list with no dividers at all.
I want both! I want automatically generated menus (in or outside a widget), with cool dividers (without that extra one at the end!). I cannot for the life of me figure it out.
Yes, the issue is not whether or not to use CSS, as that is obviously the solution. What I’m having trouble with is how to wrap the CSS around the ul li tags (without touching any core WP files) so that i can apply the style to all but the last item in the list. ‘Cause a bar or divider at the end of a list is kinda dumb, agreed?
So, not to be a bother, but you could be more specific? Because these classes aren’t native to the menus if I’m not mistaken. Do I need to create a special function or something? How do I define the class (not in my CSS, but so that the style is applied where it needs to be)?