Adding <hr> between dropdown menu items

Solved
Highlighted
New Member
3 0 0

Hello.

Thank you for your solution, really helped me out!

Is it possible to exclude first item so line would not show over it? So it it would show only between navigation options.

Thank you.

0 Likes
Highlighted
Shopify Partner
60 6 16
Yes, it is. You will probably want to use CSS pseudoclass :first-child or :nth-of-type(1).

See position based selectors on this page:

https://css-tricks.com/pseudo-class-selectors/


0 Likes