HTML Elements Forums Navigation List Menu styling item separator

This topic contains 2 replies, has 2 voices, and was last updated by Avatar Anonymous 1 year, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #99420
    Avatar
    Anonymous

    Hello again,

    i have another question. How can i style differently the separator line between the items. That’s the line that i insert by setting the “separator” attribute on a list item. I want to change the width and color.

    Thanks again and sorry for the double post 🙂

    #99423
    Avatar
    Anonymous

    Hello hansT,

    To do so, please add the following style to your page:

    <style type="text/css">
        smart-menu-item[separator],
        smart-menu-items-group[separator] {
            border-bottom: 3px solid red;
        }
    </style>

    Best regards,
    Dimitar

    Smart HTML Elements Team
    https://www.htmlelements.com/

    #99427
    Avatar
    Anonymous

    Great, thanks !

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.