Jump to content

Adding icon to phone number and email link in footer.

Recommended Posts

How do I add a Fontawesome version 6.4.0 phone icon and an email icon in front of a phone and email link in footer? Kit has been added to header code injection. Would also like to have the links change to a custom color on hover. Is there a way to have both the link and icon change color as a unit on hover?

Link to comment
  • Replies 3
  • Views 622
  • Created
  • Last Reply

Top Posters In This Topic

First, add this line to Code Injection > Header

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g==" crossorigin="anonymous" referrerpolicy="no-referrer" />

Next, add this code under

  div#block-909a08383b33e7bf8e0a a[href*="tel"]:before {
    content: "\f095";
    font-family: "Font Awesome 6 Free";
    margin-right: 10px;
div#block-909a08383b33e7bf8e0a a[href*="mailto"]:before {
    content: "\f0e0";
    font-family: "Font Awesome 6 Free";
    margin-right: 10px;


Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.