I would like to reduce the width of the contact us section, It is to chunky.
To reduce the thickness of the button below the contact us section, I would like the width to be the same as the just fixed above section though it is currently to thick
To make the “Contact Us” section slimmer and adjust the button’s thickness, you’ll need to make some CSS changes. Here’s a quick guide:
Step 1: Go to the “Edit Code” section in Shopify Backend → Sales Channel → Online Store → Click on the three dots near the active theme customize button → Select “Edit Code”
.contact.page-width.page-width--narrow {
max-width: 500px; /* Adjust width as needed */
}
#ContactForm .contact__button .button {
width: fit-content;
border-radius: 100% !important;
}
If you need to adjust the height of the button, you can add the following code:
#ContactForm .contact__button .button {
width: fit-content;
border-radius: 100% !important;
min-height: 50px; /* Adjust height as needed */
}
Step 1: Repeat Step 1 from my previous reply.
Step 2: Open the Assets folder and click Add a new asset → Create a blank file → Set the file name as base.