Okay
  Public Ticket #1508310
mail and phone icon
Closed

Comments

  • talkbackmaster started the conversation

    Hi,

    when I click on email or phone icon, there open a white page and my software mail client or facetime. The white page is not necessary! How do you delete it?
    Thanks

  •  2,733
    Andrew replied

    Hi talkbackmaster,

    The white page is not something the theme can control.

    Maybe what you can do is add more detials to the link so that it opens up your mail client on clicking and adds a subject, message body etc. There is more on this here https://blog.escapecreative.com/customizing-mailto-links/ or https://css-tricks.com/snippets/html/mailto-links/

    For phone links there is not much to modify  - https://css-tricks.com/the-current-state-of-telephone-links/

    Hope this clears things up.

  • talkbackmaster replied

    I can delete a target="_blank" from

    foreach($social_networks as $network_name => $icon_class) {

    if($network_name == 'rss') {
    if(!empty($options['use-'.$network_name.'-icon-header']) && $options['use-'.$network_name.'-icon-header'] == 1) {
    $nectar_rss_url_link = (!empty($options['rss-url'])) ? $options['rss-url'] : get_bloginfo('rss_url');
    $social_output_html .= $social_link_before.'<a target="_blank" href="'.$nectar_rss_url_link.'"><i class="'.$icon_class.'"></i> </a>'.$social_link_after;
    }
    }
    else {
    if(!empty($options['use-'.$network_name.'-icon-header']) && $options['use-'.$network_name.'-icon-header'] == 1) 
    $social_output_html .= $social_link_before.'<a target="_blank" href="'.$options[$network_name."-url"].'"><i class="'.$icon_class.'"></i> 


  • talkbackmaster replied

    Is not function, but if delete only "blank": <a target="" href="'.$options[$network_name."-url"].'"><i class="'.$icon_class.'"></i> </a>'.$social_link_after;

    is working

    see you http://77.104.189.227/~lucapier/fabio/claudiapalmarucci.com/6-2/3475256298/

  •  8,441
    Tahir replied

    Hey Again,

    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