Add email link to button on contact page

Add email link to button on contact page

tranquilweaves
Excursionist
52 0 2

I would like to add my email to a button on contact page, so when the viewer clicks the button it takes them to compose an email with my email address as the recipient, how do I do this? 

 

Screenshot 2024-05-29 at 14.37.31.png 

Replies 2 (2)

JuneN
Shopify Partner
136 6 40

Hi @tranquilweaves ,

It appears that resolving this issue requires programming experience or assistance from someone knowledgeable in editing theme code. Navigate to the "Online Store" section and select "Edit Code". In the search bar, look for a file named contact-form.liquid, contact.liquid, or any other file containing the term "contact". Within the file, locate the code associated with the "Email me" tag, and modify it to match the format:
<a href="mailto:[email protected]" class="btn">Email me</a>. 
Then remember to click the "Save" button.
I hope this proves helpful for you.

If you find my suggestion helpful, please give it a like or mark it as a solution!
And discover more approaches to:
Streamline invoicing process Boost sales with labels & badges Add social proofs & create FOMO
Or get valuable updates and private deals regarding Shopify here.
tranquilweaves
Excursionist
52 0 2

@JuneN I tried to find the "email me" tag in the contact-form.liquid but it was not there, so where should I paste this code? Please could you make it clearer