Title: please remove forminator classes or allow override
Last modified: August 26, 2026

---

# please remove forminator classes or allow override

 *  [James Monroe](https://wordpress.org/support/users/jhmonroe/)
 * (@jhmonroe)
 * [1 week, 2 days ago](https://wordpress.org/support/topic/please-remove-forminator-classes/)
 * For people using gutenberg and other default global styles, there is no simple
   way to make forminator forms inherit the button styles. for example, if i turn
   off forminator styling and use basic option or none, the button shows as plain
   html button. it will not inherit the global button styles for the site.
 * your none option removes the styling but does not remove your classes or allow
   them to be replaced at the form/plugin level as other plugins do. example: [https://www.billerickson.net/wpforms-submit-button-match-gutenberg-button-style/](https://www.billerickson.net/wpforms-submit-button-match-gutenberg-button-style/)
 * please change your plugin to not output css classes for forminator if people 
   set to none and want to inherit all their global styles. other plugins allow 
   users to simply replace the class on an element with the global class name at
   the plugin level:
 * “wp-block-button__link wp-element-button”
 * thanks! i love this plugin but this aspect makes it very outdated and not up 
   to FSE block theming standards for 2026 and beyond.
 * if anyone else finds this thread, here’s a functions.php solution gemini made
   that strips the forminator class and replaces with the default global styles:
 *     ```wp-block-code
       /** * Replace Forminator submit button classes with Gutenberg global style classes. */add_filter( 'forminator_render_button_markup', 'inherit_gutenberg_button_classes_in_forminator', 10, 2 );function inherit_gutenberg_button_classes_in_forminator( $html, $button ) {    // 1. Ensure we only target the submit button    if ( strpos( $html, 'forminator-button-submit' ) !== false ) {                // 2. Replace Forminator's submit button element wrapper with Gutenberg's button block wrapper        $html = str_replace( 'forminator-field', 'forminator-field wp-block-button', $html );                // 3. Replace the native Forminator button classes with Gutenberg block button classes        $html = str_replace(             'class="forminator-button forminator-button-submit"',             'class="wp-block-button__link wp-element-button forminator-button-submit"',             $html         );    }        return $html;}
       ```
   

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

 *  Plugin Support [Jair – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport15/)
 * (@wpmudevsupport15)
 * [1 week, 2 days ago](https://wordpress.org/support/topic/please-remove-forminator-classes/#post-19004091)
 * Hello [@jhmonroe](https://wordpress.org/support/users/jhmonroe/)
 * Forminator already has an option to add custom classes to elements of the form.
   In the case of the submit button, simply edit your form, and then click on the
   options of the Submit button:
 * ![](https://i0.wp.com/i.imgur.com/JWiSHgd.png?ssl=1)
 * There you can add the classes “wp-block-button__link wp-element-button”. When
   you have configured the form to use the Basic Style (under the Appearance section
   of the form), with these classes, it will follow up the styling configuration
   you have in your FSE Theme:
 * ![](https://i0.wp.com/i.imgur.com/TR3SbZX.png?ssl=1)
 * You can add custom CSS classes to pretty much any Forminator field. The classes
   you need to use depends of the theme/page builder; the ones you provided are 
   for Gutenberg/FSE Themes.
 * Can you please try this approach and from there, see if there is anything else
   that Forminator would need to improve?
 *  Thread Starter [James Monroe](https://wordpress.org/support/users/jhmonroe/)
 * (@jhmonroe)
 * [1 week, 1 day ago](https://wordpress.org/support/topic/please-remove-forminator-classes/#post-19004643)
 * [@wpmudevsupport15](https://wordpress.org/support/users/wpmudevsupport15/) thank
   you! this works perfectly
 * that little gear icon is very easy to mis. perhaps make it bigger? i was only
   looking for css/styling things in the sidebar to customize the form under appearance
   and settings
 * love forminator!
 *  Plugin Support [Nebu John – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport14/)
 * (@wpmudevsupport14)
 * [1 week ago](https://wordpress.org/support/topic/please-remove-forminator-classes/#post-19005260)
 * Hi [@jhmonroe](https://wordpress.org/support/users/jhmonroe/),
 * Glad to know that helped.
 * > that little gear icon is very easy to mis. perhaps make it bigger? i was only
   > looking for css/styling things in the sidebar to customize the form under appearance
   > and settings
 * Will bring this feedback to the Forminator team’s attention for further review.
   Thank you for the suggestion.
 * We’ll mark this topic as resolved. Please feel free to open a new topic if you
   need any further assistance. We are here to help.
 * Would you mind leaving us a rating, which helps us to keep the free version of
   the plugin maintained forever?
 *  [https://wordpress.org/support/plugin/forminator/reviews/#new-post](https://wordpress.org/support/plugin/forminator/reviews/#new-post)
 * Best Regards,
    Nebu John

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplease-remove-forminator-classes%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/)

 * 3 replies
 * 3 participants
 * Last reply from: [Nebu John – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport14/)
 * Last activity: [1 week ago](https://wordpress.org/support/topic/please-remove-forminator-classes/#post-19005260)
 * Status: not resolved