Iâm attempting to modify my blog’s navigation menu (http://reasonandfolly.com/) to replicate what is here: http://chimpchomp.us/
Two pieces represent a challenge: 1. The separators 2. The line on right/left of menus.
Iâm fairly new to WP and canât be certain if this requires a change to CSS or PHP.
Any guidance would be appreciated!
Difficult to give you an exact answer because I don’t know the PHP code you are using to print the menu. You will need to have a loop and insert a // between the
<LI>
elements, except for the very last one because you don’t want a // at the end of the menu.For the CSS/HTML part you can follow chimpchomp’s lead and insert a span between each
<li>
, like this:You will need to amend the margin betern each LI so that the // appears exactly centred between the menu options. You have this at the moment:
You could change this so that the margin is the same for left and right, something like: