How to insert pipeline between each menu item
-
Hello
I would like to insert the pipeline character (|) between each two menu item of the menu bar, but I can’t get to do it. I tried with this code:
.main-navigation ul { margin: 0; padding: 0; }
.main-navigation ul li { list-style-type: none; }
.main-navigation li:before { content: ” | “; }
.main-navigation li:first-child:before { content: none; }but the pipelines appears in a distinct row and the menu items in the row under it.
Please, any help?
Thank you
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘How to insert pipeline between each menu item’ is closed to new replies.