How to change size of Contact Form in Studio Theme

Who can help? I want to change the size of the contact form in Studio Theme

Just want to play around with different sizes until it fits with the overall design

I tried some CSS suggestions but they don’t work with the Studio theme

Thanks in advance

Hi @ntlee ,

Could you please share your store url link?

Thanks

Hi Websensepro, here it is:

https://feelinglikecrab.myshopify.com/pages/contact

Hey @ntlee ,

Go to your theme’s “Edit Code” Option, then in the search bar type “theme.liquid”
Below the tag “” tag paste the following. Screenshot attached for reference.

1200px is desktop, 600px is mobile


Screenshot is for reference only, the correct code to paste is the one shown above.

Hi @ntlee ,

Step 1: Online Stores > Themes > Edit code

Step 2: Choose file base.css

Step 3: Add code

.contact {
    max-width: 1200px !important;
}

@media only screen and (max-width: 998px) {
    .contact {
        max-width: 600px !important;
    }    
}

Thanks

Thanks ThePrimeWeb, but I don’t have the option to customize Liquid. I think it’s because the free template doesn’t allow it.

This works, but it only changes the top part, name and email field. It doesn’t affect the bottom part of the contact form.

Alright, you want to adjust the size of the contact form’s bottom part?

Step 1: Online Stores > Themes > Edit code

Step 2: Choose file base.css

Step 3: Add code

Try This Code

#shopify-section-template--20958478795084__contact_form_RFiRPY .color-scheme-1.gradient .contact.page-width--narrow {
    max-width: 1000px !important;
    padding: 0 50px 50px;
}

i tried this code again today and somehow today it came through, it works!