Help with selector to add pipe between menu items
-
Hi,
As the title states, I am looking for a little help to get the correct selector to add pipes between menu items via CSS. I can see from the inspector that the main header menu uses the following selectors:
.main-navigation .primary-menu-container > ul > li.menu-item > a
.header-navigation ul li.menu-item > a
However, when I try to modify that to add a pipe after each menu item, I can’t get any of the changes to show e.g.
.main-navigation .primary-menu-container > ul > li.menu-item:after a {content:"|"; color: #515151;}
Any suggestions?
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Help with selector to add pipe between menu items’ is closed to new replies.