How can I adjust form design spacing to bottom?

NEED HELP

Please change the spacing (red) between the form and the “Submit” button to the size in the contact form (green)

Shop Link: https://93f811-2.myshopify.com/

Correct spacing:

Wrong spacing:

2 Likes

Hi @admintb

IS this sovle? i cant replicate the problem.

Hello There,

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset > base.css and paste this at the Bottom of the file:
form#contact_form {
row-gap: 0;
}

Hi @admintb

I see it now, Sorry for that check this one.

  • From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  • Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  • In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.fieldset:not(.form-control) {
    gap: 0;
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Hi @admintb ,

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file → Save


Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly