Hello there
I would like to remove the message field from the contact form. Unfortunately this field is automatically neccesery so if I use the code “display: none;” it doesn’t work…
Can someone help me?
https://www.thebasicscollection.com/pages/return-form
That’s the css sector:
#input-template–19443799261480__cf129a83-7cea-4f47-9b48-b0c95aa962bf–contactbody
1 Like
Hi @admintb ,
Try this.
- 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” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
- And Save.
.form-control:nth-child(3) {
display: none;
}
@Made4uo-Ribe Hi, it is the same thing I did with “displayed: none”. The problem with this is that I can’t submit my form because I have to fill in each section. That’s why I’m asking
@ZestardTech
There is only one template for the contact form and for this one I changed the field as not necessary. The problem is that the contact form on the contact page can now be sent without a message. I would like to keep the message field as a required field on the contact page form and not as a required field on the return form.