• Resolved supportstyles

    (@supportstyles)


    Hello,

    I would like to know what would be the CSS code required to adjust the styling of the select dropdown on my form. I am currently using CSS Code to adjust the styling on the input boxes such as rounding out the corners and having them all be a certain size. I would like to have that done in the dropdown fields as well.

    Also I noticed that the field label for the dropdown is a different font than the one selected. I.E. I would like the font for “Event Type” dropdown label to be Montserrat.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Jair – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @supportstyles,

    I hope you are doing well today!

    You can use the following selectors to adjust Event Type select and dropdown as ex.

    span.select2-selection.select2-selection--single{
    /* Your CSS code for select*/
    }
    
    .forminator-select.forminator-select-dropdown-container--open .forminator-select-dropdown .select2-results .select2-results__options{
    /* Your CSS code for dropdown*/
    }

    For the fonts, you can adjust them on Edit Form->Appearance->Fonts->Custom->Select and Dropdown sections.

    Please let us know if you need further help.

    Kind regards,
    Zafer

    Thread Starter supportstyles

    (@supportstyles)

    Hello, thank you for providing this code! I was able to get the dropdown input shapes adjusted as desired.

    Unfortunately when it comes to the drop-down label text, while I have Montserrat selected, it does not appear that way in the website. How can I get this fixed? I attempted to use the CSS code you provided for the dropdown to change the font to Montserrat but was unable to do so.

    Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @supportstyles

    Thank you for response!

    I visited the form in question and I see that the label and the select options actually are already using Montserrat font.

    The “placeholder” is not. For example, the default text “Event Type” for the “What type of event are you booking for” drop-down on the second page of the form. This is what you mean?

    If yes, then this CSS should do the trick:

    .forminator-field-select span.select2-selection__placeholder {
      font-family: "Montserrat"!important;
    }

    Best regards,
    Adam

    Hi @supportstyles

    We haven’t heard from you in a while, I’ll go and mark this thread as resolved. If you have any additional questions or require further help, please let us know!

    Kind Regards,
    Kris

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Adjusting Select Dropdown Styling’ is closed to new replies.