How do I create a "contact me" button and have it linked to my email

  • Unknown's avatar

    How do I create a “contact me” button and have it linked to my email.

    I’ve tried to watch youtube videos and I get close but it never works. H e l P. :-)

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Here’s a piece of code that does this:

    <a href="mailto:youremailgoeshere"><img src="http://yourimageurlgoeshere.jpg" /></a>

    Replace youremailgoeshere with your actual email address. And replace http://yourimageurlgoeshere.jpg with the actual URL of the image you’d like to use for this link.

    You can also set this up using the Image Widget if you’re trying to do this in your sidebar or footer. Setup the image like usual, but for the Link URL insert mailto:youremailaddresshere.

    Let me know if I can help with anything else!

  • Unknown's avatar

    Thanks, Shawn. I have set this up using the Image Widget. I put mailto:myactualemail.com in the Link URL line. Doesn’t seem to work. I read somewhere that I need to use code that inputs a subject line.?, which I would love to do. Any ideas?

  • Unknown's avatar

    UPDATE: When I click on my contact me button, it DOES open up my email but doesn’t populate the To: or Subject line. This is what I’d like to be able to do. I know it’s possible, I’m just not doing it quite right.
    Thank you!!

  • Unknown's avatar

    When I click on your link, the To field is filled in with your email address. Here’s how you can add a subject to the button. Add a question mark, “subject=”, and the subject you’d like to use, like this:

    mailto:youremailaddress?subject=Your Subject Goes Here!

    Let me know if I can help further!

  • The topic ‘How do I create a "contact me" button and have it linked to my email’ is closed to new replies.