Remove space between field and submit - inline form

Hello everyone, I had created an inline one field form and I’m trying to remove the spacing between the field and the submit button. I was playing around with the settings and css but couldn’t achieve what I was trying. Also, I would like to move the loading animation to the end of the form (or remove it completely)

This is the form currently:

This is what I’m trying to achieve (not my website):

Im using elementor.


Hi Jay,

Could you please share your exact webpage URL so I can further investigate to resolve the issue?

Hey Faisal,

my website is

Hi Jay,

To resolve the issue, try the following CSS code in the child theme’s style.css file or in Appearance → Customize → Additional CSS.

@media all and (min-width: 640px) {
    #gform_2 .gfield .ginput_container {
        margin-top: 0px !important;

    #gform_2 .gfield input {
        min-height: 60px !important;

    #gform_2 #field_2_1 {
        margin-right: -16px !important;

    #gform_2 #field_2_1 input {
        border-right: 0px !important;


Give it a try, and let me know how that goes! :smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.