HTML Elements Forums List Menu styling item separator

This topic contains 2 replies, has 2 voices, and was last updated by  hansT 2 months, 1 week ago.

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

    hansT
    Participant

    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

    Dimitar
    Participant

    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

    hansT
    Participant

    Great, thanks !

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

You must be logged in to reply to this topic.