Okay
  Public Ticket #224092
Email button
Closed

Comments

  • Matt started the conversation

    Is there a way to have a button link to an email address? For example, "Contact So-and-So," and when you click on it it opens up an email with so-and-so's email address in the "to" line?

  •  8,850
    Tahir replied

    Hey Matt!

    Sure you simply have to add the href link like this in the button :

    [button color="accent-color" hover_text_color_override="#fff" size="small" url="mailto:[email protected]" text="email" color_override=""]

    Thanks


    ThemeNectar Support Team 

  • Matt replied

    Hi Tahir,

    That's what I did, but when I click on the button it simply opens a new tab with "mailto:[email protected]" in the address bar. Shouldn't it be opening in an email client?

    Thanks,

    Matt

  •  8,850
    Tahir replied

    Hey Matt!

    You need to set the open in new window checkbox as well . 

    Thanks


    ThemeNectar Support Team 

  • Dracomaster replied

    Hi for a client of mine i have the same problem, i already checked open in new window and now the link opens in a new window and after a few seconds it opens also in outlook.

  •  2,965
    Andrew replied

    Hi,

    That would be the correct functionality it will open a program on users computer that handles emails.

    Regards

  • Dracomaster replied

    but it opens a new tab window and the email program that is not correct. normaly it should only open the program not a new tab window

  •  8,850
    Tahir replied

    Hey D,

    If you have Page Transitions Turned On Please Switch the Animated Transition Method to "Standard" in Salient Theme Options -> Page Transition Section.

    Also be sure to check/uncheck this Disable Fade Out On Click option : http://prntscr.com/8f3bj7

    Moreover if it doesnt work Turn off the Page Transitions and check for Browser Console Errors : https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors

    Best


    ThemeNectar Support Team 

  •  1
    McKenzie replied

    Is there updated guidance on how to get mailto:[email protected] functionality to work for the call to action buttons?  Those instructions are no longer valid.

  •  8,850
    Tahir replied

    @McKenzie ,

    This would likely have to be custom coded, as there is no such functionality available at the moment. 

    Thanks


    ThemeNectar Support Team