• Resolved marincarroll

    (@marincarroll)


    Hi, it looks like some styles from Ultimate Member (for select2) are applying to forms from other plugins that use select2, because the styles are not specific enough. They also have !important so are tricky to override.

    • This topic was modified 2 years, 11 months ago by marincarroll.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Towhid

    (@cryptex_vinci)

    Hi @marincarroll

    Can you please elaborate or share a live link of the issue. So we can correct that in future version.

    Thanks

    Thread Starter marincarroll

    (@marincarroll)

    A form on our site is not an Ultimate Member form. It’s created with a plugin called Forminator. However, Forminator also uses select2 for its select fields, and they’re being affected by the Ultimate Members stylesheet.

    In the “Customize Select2 CSS” section of your stylesheet um-styles.css, all Select2 elements are targeted regardless of whether they are within a UM form.

    Thread Starter marincarroll

    (@marincarroll)

    You can see the issue on the select fields here:
    https://www.concentricbyginkgo.com/k12pilots/

    This form is totally unrelated to Ultimate Member.

    Plugin Support Towhid

    (@cryptex_vinci)

    Hi @marincarroll

    You can use below snippet to prevent select.min.css from loading. PLease do let me know if it solves your issue.

    jQuery("LINK[href*='select2.min.css']").remove();

    Thanks

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hey there!

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help… 🙂

    Regards,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Bug report: Select2 styles are not specific enough’ is closed to new replies.