Jump to content

Make phone number a clickable link using HTML

Recommended Posts

Site URL: https://typeaprofessionals.com

Hello Squarespace community!


I'm redoing my site using the Brine template (not yet published, current site still visible).

I want to add a line that looks like this, but with the phone number as a clickable link:

Call or text: 805-500-TYPE


I need to do this in a code block rather than adding a phone link the normal way (long story).


I have this line of code that makes the colors look right, but I don't know where to put the href=“tel:805-500-8973” to make the number clickable:

Call or text: <p1 style="color:#BABC16;">805-500-TYPE</p1>



Thank you!

Link to comment

Or if it's easier/cleaner, here's the CSS I added to hide the phone number in my primary navigation header from the mobile navigation menu.

This CSS does this correctly, but then it also hides the phone number everywhere else on the site, which I do not want it to do.


//hide phone number in mobile nav//
@media screen and (max-width: 640px) {
  display: none;


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.