Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #832934

    Hi,

    Can you help me out with a horizontal menu-separator in the primary-menu?

    I’ve tried
    `.main_menu li:not(:last-child) a:after { content: ‘ -‘; }
    .main_menu li:last-child > a::after { content: ‘ ‘; }
    `
    This works, but I can’t get the last-child to disappear. Also would i Like the separator to have a blue color.

    Is this possible?

    Regards,

    Erwin

    #833110

    Hey Erwin,

    Can you post a link to your site? so we can take a closer look.

    Best regards,
    Nikko

    #833131

    Hi Nikko,

    Of course I can, see the private content. I thought it was a more general question…

    regards,

    Erwin

    #835335

    Hi Erwin,

    Sorry for the late reply. Please try this to remove the dash from the last menu item:

    #menu-item-45 a:after {
      content:'' !important;
    }

    Best regards,
    Rikard

    #835528

    Hi Rikard,

    That works fine. Thank you, you can close this topic.

    Regards,

    Erwin

    #835726

    Hi Erwin,

    Great, thanks for the feedback. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Horizontal menu separator’ is closed to new replies.