Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Nick C

    (@modernnerd)

    You can use this format:

    tel:1800123456789

    Where 1800123456789 is your phone number, without spaces.

    That will create a link that starts a phone call on any device that supports the tel protocol.

    Thread Starter peterfz30

    (@peterfz30)

    Thanks Nick.
    Is there any way to disable this on those devices that don’t support the tel protocol such as a desktop?

    Regards

    Plugin Contributor Nick C

    (@modernnerd)

    There isn’t a foolproof way to detect tel protocol support and hide the link if it’s unsupported, unfortunately.

    You could consider hiding the icon above certain screen widths, though. You’d need to add this CSS to your theme’s stylesheet:

    @media only screen and (min-width: 800px) {
    	.ssi-phone {
    		display: none;
    	}
    }

    Where 800px is the width at which you’d like to hide the icon.

    • This reply was modified 7 years, 10 months ago by Nick C.
    Thread Starter peterfz30

    (@peterfz30)

    Thank you Nick, that works for me.

    Kind regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How do I use the Phone URI:’ is closed to new replies.