How to hide pipes/vertical bars?

I want to hide pipe but I've no idea how since there's no name for pipe element. For example the pipe (this symbol "|") in

I feel maybe need to use ::before and ::after but I guess I'm doing it wrong. Thanks in advance
531 x 89 - 12K


  • edited February 2018 Chrome
    Nope, not a pseudo-element, just text. You can get rid of them like this:
    div.inner_menu > span:first-of-type {
    color: transparent!important;
    div.inner_menu > span:first-of-type {
    font-size: 0!important;
    if you want closer spacing.
  • Thank you so much @anagrammar

    Now I learn about first-of-type and that's new to me. Thanks again :)
Sign In or Register to comment.