Support Forums

Support Forums Forums Search & Filter Pro limit select box width

This topic is: resolved

This topic contains 7 replies, has 2 voices, and was last updated by  David setyawan 1 month, 4 weeks ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • David setyawan

    hello, how to limit the option select box width?

    i want to limit the option width within select box width

    i’ve tried to limit the option width but no luck

    Trevor Moderator

    Are you able to send me a live link/URL to your search page so I can take a look?

    David setyawan
    This reply has been marked as private.
    Trevor Moderator

    The problem with what you ask is that the options will then be cut off (not visible on the right). The box is that wide because of the options. The alternative is to make the select box at the top wider.

    David setyawan

    yes you are right, i want to make the box following select box width. how?

    David setyawan

    i set the width on select box to make it responsive on mobile. that’s why i need to limit the width

    Trevor Moderator

    You want the options made narrow? This is not possible using CSS. As explained in this third party help page:

    As an alternative, you could apply Select2 to the boxes (which would make them work better I think on mobile anyway). See this post for instructions:

    David setyawan

    i see, well thank you for your help. you can mark this as solved

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

The topic ‘limit select box width’ is closed to new replies.