Title: Remove padding around form
Last modified: January 28, 2025

---

# Remove padding around form

 *  Resolved [saralanda](https://wordpress.org/support/users/saralanda/)
 * (@saralanda)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/remove-padding-around-form/)
 * Hi,
 * When I insert my form on my website, there is a padding around the form by default.
   How can I remove/edit this padding?
 * Thanks!

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

 *  Plugin Author [CodePeople2](https://wordpress.org/support/users/codepeople2/)
 * (@codepeople2)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/remove-padding-around-form/#post-18270594)
 * Hello [@saralanda](https://wordpress.org/support/users/saralanda/)
 * Please provide the link to the page that contains the form. The form does not
   include padding itself, so, I assume these styles are inherited from the theme
   active on your website.
 * Best regards.
 *  Plugin Author [CodePeople2](https://wordpress.org/support/users/codepeople2/)
 * (@codepeople2)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/remove-padding-around-form/#post-18273485)
 * Hello [@saralanda](https://wordpress.org/support/users/saralanda/)
 * Have you been able to pinpoint the specific style definition responsible for 
   applying the padding to the form? If so, could you kindly share the link to the
   page where the form is located? This will allow me to review the loaded styles
   and investigate further.
 * Best regards.
 *  Thread Starter [saralanda](https://wordpress.org/support/users/saralanda/)
 * (@saralanda)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/remove-padding-around-form/#post-18275801)
 * See [https://tulumcharters.com/test1](https://tulumcharters.com/test1) , also
   shown in screenshot below.
 * The first two calculators have no padding below the submit button. I managed 
   to remove it using this css:
 * cp_calculatedfieldsf_pform_2, cp_calculatedfieldsf_pform_1
 * {margin:0px !important;}
   That said, this css will remove the margin from the 
   1st and 2nd calculator on all pages. I was wondering if there is a way to do 
   this per individual calculator since there are some exceptions where I would 
   like to keep the margin.
 * ![](https://wordpress.org/4215af62-ef83-4c73-9e59-808157b8011b)
    -  This reply was modified 1 year, 4 months ago by [saralanda](https://wordpress.org/support/users/saralanda/).
 *  Plugin Author [CodePeople2](https://wordpress.org/support/users/codepeople2/)
 * (@codepeople2)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/remove-padding-around-form/#post-18275820)
 * Hello [@saralanda](https://wordpress.org/support/users/saralanda/)
 * Thank you very much for providing the link. The margin is applied by the style
   definition:
 *     ```wp-block-code
       .form-item, form {    margin-bottom: 2rem;}
       ```
   
 * Located in the [https://tulumcharters.com/wp-content/themes/mesmerize-pro/style.min.css](https://tulumcharters.com/wp-content/themes/mesmerize-pro/style.min.css?ver=1.6.173)
   file belonging to the theme active on your website.
 * If you want the styles in the theme not to affect the forms created with our 
   plugin, instead of editing each form separately, you can enter the style definition
   below through the “Appearance > Customize > Additional CSS” WordPress menu option:
 *     ```wp-block-code
       form.cff-form{margin:0;}
       ```
   
 * Best regards.
 *  Thread Starter [saralanda](https://wordpress.org/support/users/saralanda/)
 * (@saralanda)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/remove-padding-around-form/#post-18275943)
 * Thank you!

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

The topic ‘Remove padding around form’ is closed to new replies.

 * ![](https://ps.w.org/calculated-fields-form/assets/icon-256x256.jpg?rev=1734377)
 * [Calculated Fields Form](https://wordpress.org/plugins/calculated-fields-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/calculated-fields-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/calculated-fields-form/)
 * [Active Topics](https://wordpress.org/support/plugin/calculated-fields-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calculated-fields-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calculated-fields-form/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [saralanda](https://wordpress.org/support/users/saralanda/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/remove-padding-around-form/#post-18275943)
 * Status: resolved