[Limited Time Offer] Get 40% off ALL ACCESS MEMBERSHIP before it’s gone!👉
mark Hendriksen logo

How to Make a Phone Number Clickable in Divi

by Mark Hendriksen | Feb 18, 2019 | Divi tutorials | 8 comments

Home › Divi tutorials › How to Make a Phone Number Clickable in Divi

Mark Hendriksen

I am the founder here at MarkHendriksen.com a blog website for Web design, WordPress, and popular page builders.

Just like mailto: links you can also make a phone number clickable. Most devices will detect phone numbers on your web pages and do the linking for us, but this doesn’t happen all the times.

Here is the snippet for a clickable phone number

<a href="tel:123456789">123-456-789</a>

You can also do this for text

<a href="tel:5554280940">Call us</a>

If you are using a text module in Divi than you can add this snippet in the text tab.

Phone link in text module

Styling phone links

If you are using Divi and a text module than it is very easy to change the styles. Go to the design tab and then under the text options switch over to the link. Here you can change the styles for the link.

Styling phone links

You can also do this with CSS. This pdeudo selector will search out all the Tel: on your website.

a[href^="tel:"] {
  color: blue;
}

Adding microdata

To let search engines better know that this is a phone number you might want to add some microdata to it. You can find some more examples at schema.org.

<div itemscope itemtype="http://schema.org/LocalBusiness">
<span itemprop="telephone"><a href="tel:+18506484200">
850-648-4200</a></span>
</div>

8 Comments

  1. Dave

    What if we want to have the phone number in as button? How do we make the number in the button or button clickable?

    Reply
  2. Mark

    Hi Dave,

    You can do this by using a button module and in the link field you place this:
    tel:+123456789 replace the number with your own.

    Reply
  3. CSWinnall

    Hi how would you do this so a pop up shows if you are on a non callable device nut it works as shown on a callable device. Thanks

    Reply
  4. Elisha

    I have changed the phone no. and displays fine however, when i test the phone no. to call it. The phone no. it rings is the old mobile no. how do I find where this is located to change. I edited the phone no. in the button settings as above. I did not build the site.

    Reply
    • Mark Hendriksen

      Hi Elisha,

      Try to clear your browser cache

      Reply
  5. Jaime

    Hello! im trying make this but in a link Image Module but i dont know how. its possible make it?

    i tryed put in the field of URL “tel:123456789” but this dont work.

    Someone have some idea?

    Regards !

    Reply
    • Mark Hendriksen

      Hi Jaime,

      For an image link place this in the link field tel:+123456789
      .

      Reply
      • Jaime

        Hello Mark that didn’t work for me in Divi module image i had to make it with html code, but thx for the answer

        Reply

Submit a Comment

Your email address will not be published. Required fields are marked *