WebSite X5Help Center

 
Steve N.
Steve N.
User

Clickable Contact Numbers  en

Autor: Steve N.
Visitado 1749, Seguidores 1, Compartilhado 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

Publicado em
4 RESPOSTAS - 1 ÚTIL - 1 CORRIGIR
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

Ler mais
Publicado em de Paul M.
Steve N.
Steve N.
User
Autor

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..

Ler mais
Publicado em de 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

Ler mais
Publicado em de Paul M.
Steve N.
Steve N.
User
Autor

Excellent - thanks!

Ler mais
Publicado em de Steve N.