Okay
  Public Ticket #1366118
Clickable number Mobile
Closed

Comments

  •  2
    Asilva9999 started the conversation

    Hello,

    I would like to know if is possible to put the mobile phone number clickable on mobile versions? 

    Widget Contact us

    Best regards,

    Alexandre Silva

  •  2,057
    Theme replied

    Hi,

    You can copy includes/plugins/widgets/widget-contact.php to your child theme (same folder structure), edit the file and change

    <span class="icon icon-themeenergy_call"></span> <?php echo esc_html($company_phone); ?>

    to

    <span class="icon icon-themeenergy_call"></span> <a href="tel:<?php echo esc_html($company_phone); ?>"><?php echo esc_html($company_phone); ?></a>

    Best regards,

    themeenergy support

  •  2
    Asilva9999 replied

    Hello,

    Thank you very much for your reply.

    I do not use child theme. I changed directly in the plugin and is now working in desktop. In IOS mobile is not working. 

    Look forward to your reply.

    Thank you

  •  2,057
    Theme replied

    Hello,

    it is not working because the number is incorrect: tel:24H (+351) 935 222 728.

    You should insert it as +351-935-222-728 or +351935222728

    Thank you

    Best regards,

    themeenergy support

  •  2
    Asilva9999 replied

    Hello,

    Thank you for your reply.

    In IOS mobile device still being not clickable. I should have other problem in the footer because when i try to copy only copy the image.

    Thank you. 


  •  2,057
    Theme replied

    Hi,

    Please make sure you change the number from

    24H +351-935-222-728

    to just

    +351-935-222-728

    Best regards,

    themeenergy support

  •  2
    Asilva9999 replied

    Hello,

    I tried but is the same. 


    Thank you 

  •  2,057
    Theme replied

    Hi,

    I recommend you ask on stackoverflow or similar forums as it's not a feature of our theme.

    Thanks,

    Best regards,

    themeenergy support

  •  2
    Asilva9999 replied

    Will do. 

    Thank you very much

  •  2,057
    Theme replied

    You are welcome. Btw, before you ask there, have you tried clearing your browser cache on your ios device?

    Best regards,

    themeenergy support

  •  2
    Asilva9999 replied

    Yes, i cleared the cache on the website and at IOS mobile device. i try with an android device to see if it work or not.

    After i past the code on the desktop the clickable number start working. 

    I think the problem will be with the footer because on IOS when i try to click or copy the number we copy the image on the footer and not the number. 

    Thank you 

  •  2,057
    Theme replied

    Ok, thanks for letting us know.

    Best regards,

    themeenergy support