Clickable Contact Numbers
Autor: Steve N.
Besucht 1747,
Followers 1,
Geteilt 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
Gepostet am
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
Kind regards,
Paul
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..
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
Autor
Excellent - thanks!