Title: Remove jQuery UI styles
Last modified: January 14, 2026

---

# Remove jQuery UI styles

 *  Resolved [Richard](https://wordpress.org/support/users/richardelovia/)
 * (@richardelovia)
 * [3 months ago](https://wordpress.org/support/topic/remove-jquery-ui-styles/)
 * Hi, is was trying to remove jQuery UI css that gets loaded in all pages that 
   include Formintaor’s forms (this is the loaded resource: [https://code.jquery.com/ui/1.13.2/themes/base/jquery-ui.min.css?ver=1](https://code.jquery.com/ui/1.13.2/themes/base/jquery-ui.min.css?ver=1)).
   
   I tried adding this snippet but with no success:
 * `add_action('wp_enqueue_scripts', function () {
   if (!is_admin()) {wp_dequeue_style('
   forminator-jquery-ui-styles-css');wp_deregister_style('forminator-jquery-ui-styles-
   css');}}, 9999);
 * P.S.
   It would be great that if we check “no styles” in the plugin’s settings,
   there is no styles at all, not even form libraries. Thanks!

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

 *  [Kris – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport13/)
 * (@wpmudevsupport13)
 * [3 months ago](https://wordpress.org/support/topic/remove-jquery-ui-styles/#post-18786041)
 * Hi [@richardelovia](https://wordpress.org/support/users/richardelovia/)
 * I hope you are doing well today.
 * We already have an improvement task in that matter, and future updates will fix
   that. You can try this snippet:
 *     ```wp-block-code
       add_filter('forminator_jquery_ui_css', '__return_false');
       ```
   
 * Note that this will stop loading the CSS file, but will cause issues with the
   calendar on the field.
 * You will need to add custom CSS to resolve the issue, for example, the background
   color:
 *     ```wp-block-code
       #ui-datepicker-div {    background-color: #ffffff !important;}
       ```
   
 * Kind Regards,
   Kris
 *  Thread Starter [Richard](https://wordpress.org/support/users/richardelovia/)
 * (@richardelovia)
 * [3 months ago](https://wordpress.org/support/topic/remove-jquery-ui-styles/#post-18789497)
 * Hi Kris and thank you very much for your support. The snippet you provided worked
   nicely.
   I appreciate this is something on the roadmap of Forminator.I just wanted
   to let you guys know that when on a 13 inch laptop, che calendar dropdown position
   gets calculated incorrectly. This does not happen on bigger screens nor on mobile.
 * Below is an image of the calendar on a small desktop:
 * > [View post on imgur.com](https://imgur.com/a/XBDXghN)
 * While this is on a bigger 15 inches one:
 * > [View post on imgur.com](https://imgur.com/a/dYGZRCa)
 * If I inspect the element on the 15 inch display and go into responsive mode to
   match the 13 inch one, I cannot replicate the issue. Seems like it is strictly
   related to the calculation phase of the dropdown position on smaller screens.
   
   I’d be happy to help so please feel free to contact me via e-mail should you 
   guys need any further details.
    -  This reply was modified 3 months ago by [Richard](https://wordpress.org/support/users/richardelovia/).
      Reason: Re-inserted images
 *  [Kris – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport13/)
 * (@wpmudevsupport13)
 * [3 months ago](https://wordpress.org/support/topic/remove-jquery-ui-styles/#post-18790866)
 * Hi [@richardelovia](https://wordpress.org/support/users/richardelovia/)
 * Can you give us more details about this issue:
    1. Which Forminator style is enabled there or you use none with above snippet enabled?
    2. Are you able to share with us page URL where form is located so that we can 
       take a closer look?
 * Kind Regards,
   Kris
 *  Thread Starter [Richard](https://wordpress.org/support/users/richardelovia/)
 * (@richardelovia)
 * [2 months, 3 weeks ago](https://wordpress.org/support/topic/remove-jquery-ui-styles/#post-18797630)
 * Hey Kris, sorry it took me long to get back.
 * Would you mind if I send details via email? This is just because in the past 
   I opened some other topics here in the forum and the pages I linked got indexed
   as relevant for the posted website which I’d prefer not to.
 * I wonder if you guys have a dedicated email address for this. Mine is the same
   one associated to my profile.
 * Thanks!
    -  This reply was modified 2 months, 3 weeks ago by [Richard](https://wordpress.org/support/users/richardelovia/).
      Reason: Added email question
 *  Plugin Support [Dmytro – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport16/)
 * (@wpmudevsupport16)
 * [2 months, 3 weeks ago](https://wordpress.org/support/topic/remove-jquery-ui-styles/#post-18797863)
 * Hello [@richardelovia](https://wordpress.org/support/users/richardelovia/),
 * Yes, sure. Please email us at [wpsupport@incsub.com](https://wordpress.org/support/topic/remove-jquery-ui-styles/wpsupport@incsub.com?output_format=md)
   with the following subject: `ATTN: WPMU DEV support - wp.org`
 * Please also include a link to this thread for reference: [https://wordpress.org/support/topic/remove-jquery-ui-styles/](https://wordpress.org/support/topic/remove-jquery-ui-styles/)
   
   and any other relevant info, URLs, etc.
 * Looking forward to hearing back from you.
 * Best Regards,
    Dmytro
 *  Plugin Support [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [2 months, 2 weeks ago](https://wordpress.org/support/topic/remove-jquery-ui-styles/#post-18806574)
 * Hello [@richardelovia](https://wordpress.org/support/users/richardelovia/)
 * We haven’t heard from you in some time, so I will mark this thread as resolved.
   If you have any more questions or need further assistance, please let us know!
 * Kind Regards,
    Amin

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fremove-jquery-ui-styles%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/forminator/assets/icon-256x256.gif?rev=3443182)
 * [Forminator Forms – Contact Form, Payment Form & Custom Form Builder](https://wordpress.org/plugins/forminator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forminator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forminator/)
 * [Active Topics](https://wordpress.org/support/plugin/forminator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forminator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forminator/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * Last activity: [2 months, 2 weeks ago](https://wordpress.org/support/topic/remove-jquery-ui-styles/#post-18806574)
 * Status: resolved