This topic contains 5 replies, has 2 voices, and was last updated by Sean Sean 2 years, 2 months ago.

Dropdown Button corner


  • EliteGroup
    Participant

    Posts: 6
    Member Reply #5612

    Hey!
    I have a problem with dropdown buttons

    I want to remove this corner on the picture, but I can’t remove it.
    Can somewone help me how to remove this “angle”?

    See attachment picture

    • This topic was modified 2 years, 2 months ago by  EliteGroup.
    Attachments:
    You must be logged in to view attached files.
    Sean
    Sean
    Keymaster

    Posts: 4444
    Support Staff Reply #5620

    Hi,

    To remove this globally please add below code into your custom.min.css:

    .dropdown-menu:after,
    .dropdown-menu:before {
    display: none !important;
    }

    Thanks.


    EliteGroup
    Participant

    Posts: 6
    Member Reply #5621

    Hi Sean. Thanks,
    but it does works. i add it to
    “theme\assets\layouts\layout\css\custom.min.css” (and its added in HTML Header code)

    see attachment picture

    I have Metronic v4.5.5

    • This reply was modified 2 years, 2 months ago by  EliteGroup.
    Attachments:
    You must be logged in to view attached files.
    Sean
    Sean
    Keymaster

    Posts: 4444
    Support Staff Reply #5630

    Hi :),

    Please try to use below code instead:

    /* here you can put your own css to customize and override the theme */
    .dropdown > .dropdown-menu:before,
    .dropdown > .dropdown-menu:after,
    .dropdown-toggle > .dropdown-menu:before,
    .dropdown-toggle > .dropdown-menu:after,
    .btn-group > .dropdown-menu:before,
    .btn-group > .dropdown-menu:after {
    display: none !important;
    }

    We have just tested it and it worked fine.

    Thanks.


    EliteGroup
    Participant

    Posts: 6
    Member Reply #5633

    Tank you very much,
    yeah worked fine 🙂

    have a nice day Sean.

    Sean
    Sean
    Keymaster

    Posts: 4444
    Support Staff Reply #5636

    You are most welcome 🙂 Have a nice day too!

You must be logged in to reply to this topic.