Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter carcayu80

    (@carcayu80)

    Sorry, other thing.

    I put “max height: 60px” in text area, in forminator options.

    Why it is like 140 px then?

    Hello @carcayu80 !

    I hope you’re doing great today!

    Yes, it’s possible to add a padding or a margin to the items in the dropdown list. You can do that like this with custom CSS:

    .forminator-select-dropdown.forminator-custom-form-34498 li {
      padding-left: 15px !important;
    }

    This will work for all dropdown for this form. If you need to only add that to specific ones, you can change the selector to:

    .forminator-select-dropdown.forminator-custom-form-34498 #select2-forminator-form-34498__field--select-2-results li {

    In the above case the select-2 part of the selector will correspond to the specific dropdown field’s ID.

    Regarding the textarea’s height, it may depend on the theme as well. Sometimes, in addition to max-height you may need to also specify height and possibly also add !important to make sure your rules stay on top of the other rules and are preferred by the browser.

    Warm regards,
    Pawel

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @carcayu80 ,

    We haven’t heard from you for a while now, so it looks like you don’t need our assistance anymore.

    Feel free to re-open this ticket if needed.

    Kind regards
    Kasia

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Margin left in dropdown list’ is closed to new replies.