Knowledgebase
LocalBiz VORTEX Member Area > LocalBiz VORTEX Help Desk > Knowledgebase

Search help:


Displaying Phone Numbers As "Tap To Call" in Mobiles

Solution

The action of phone numbers being detected by the various mobile browsers depends a lot from one user agent to another (ie., iPhone, Android, Windows, Blackberry etc). This is not something that is theme dependent but universal to all web pages and all themes and platforms.

That said, there is a simple solution I can give you here that works with LocalBiz Vortex theme.

To create a custom mobile button using the Vortex button generator (mobile or general) then when it comes to inserting the URL for the button you dont use "http://anywebaddress.com"  you use; "tel:1800-555-1234" (or whatever the phone number is)

Also,, when wanting any number on your site to work as a click to call you should use the code: "<a title="Tap-To-Call" href="tel:1800-555-1234">1800-555-1234</a>"  That is what is used in the footer phone number on the demo site at http://localbizvortex.com/vortex-demo/

Notice on that demo home page (right featured panel) also that the flashing white phone number is in white text but is coded as a link which would normally be blue or whatever the theme link color is, but in this case I have included a code style snippet to make the link white with no underlining. Here's that code:
<a style="color: #FFFFFF; text-decoration: none;" href="tel:1800-555-1234">1800-555-1234</a>

Here's some further reading on this topic:
http://code.tutsplus.com/tutorials/mobile-web-quick-tip-phone-number-links--mobile-7667

http://allwebco-templates.com/support/S_smartphone-link.htm

 
Was this article helpful? yes / no
Article details
Article ID: 43
Category: Knowledgebase
Date added: 1-Aug-2014 6:21pm
Views: 272
Rating (Votes): Article rated 3.0/5.0 (59)

 
« Go back

 
Powered by Help Desk Software HESK - brought to you by Help Desk Software SysAid