This topic contains 1 reply, has 2 voices, and was last updated by Sean Sean 2 years, 7 months ago.

select2 in navbar

  • cristalembalagens

    Member Reply #6982


    I trying to use select2 in the navbar beside the notification icons but its size changes according to the value selected and the list opens behind the navbar. I would like to set a specific size and fix the list show. Is algo possible to set the position of select2 in the center of navbar?

    You must be logged in to view attached files.

    Posts: 4527
    Support Staff Reply #7006


    You will need to customize the select2 element in custom.min.css in order to make it display properly. Please try to set proper z-index(greater than the fixed header’s z-index) and try to set fixed with as well for the select2 container. Once you set fixed with you will be able to center it horizontally with margin: 0 auto; or try to use absolute positioning .

    If you need any further help please provide us a test link to your site in a private reply so we can investigate it online.


You must be logged in to reply to this topic.