WebSite X5Help Center

 
Steve N.
Steve N.
User

Clickable Contact Numbers  en

Author: Steve N.
Visited 1612, Followers 1, Shared 0  

Hi,

Amoungst other mobile device issues I'm having, I just noticed that my phone number isn't clickable on my iphone when viewed...

Is there something I'm missing to make it clickable?

Cheers,

Steve

Posted on the
4 ANSWERS - 1 USEFUL - 1 CORRECT
Paul M.
Paul M.
Moderator

Hello Steve,

Your phone number won't be clickable by default.  You need to edit your page to change your phone number from plain text into a hyperlink in the following format:

<a href="tel:0497-849-599">0497-849-599</a>

That format should be recognised by most smartphones including iPhone, Android and BlackBerry.

However, be aware that this method of hyperlinking is fairly new and as a result most desktop browsers still do not support it, and will throw an error if a user clicks on the link.  The only way round this at the moment is to create a fully responsive website in which the smartphone link only shows up to actual smartphone users.  Otherwise you would probably be better off sticking with plain text for the phone number for now, as errors of any sort don't inspire confidence in a website Surprised 

Kind regards,

Paul

Read more
Posted on the from Paul M.
Steve N.
Steve N.
User
Author

Hi Paul,

I'll try that right now - thanks ;)

It does work - partially, but it's in blue, white would be better if poss?

UPDATE

Shows like this on iphone - but ok on ipad..

Read more
Posted on the from Steve N.
Paul M.
Paul M.
Moderator

Try this Steve, which should change the hyperlink to white:

<a style="color:white" href="tel:0497-849-599">0497-849-599</a>

Cheers,

Paul

Read more
Posted on the from Paul M.
Steve N.
Steve N.
User
Author

Excellent - thanks!

Read more
Posted on the from Steve N.