SEND button on contact form not appearing properly on mobile screens

Hello! :slightly_smiling_face:

I have noticed that suddenly the SEND button of contact page has started to appear smaller and square on the mobile screen! like it needs few more pixels to display the ‘Send’ text properly!

How can i increase the length of the button slightly so the text can fit? or perhaps shorten the text ?

Hello @bharatwasi
Go to online store ----> themes ----> actions ----> edit code ---->base.css
add this code at the end of the file and save.

.layout-type.left_iconblock_form_inline > .dt-contact-iconblock-section + .contact-form-section form.contact-form button {
width: max-content !important;
}

result

Thanks

https://graintastic.in/

Hi @bharatwasi

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. 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:
@media only screen and (max-width: 850px){
form.contact-form button.btn {
    padding: 6px 0;
}
}
@media only screen and (max-width: 200px){
.layout-type form.contact-form {
    gap: 0;
}
}

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!