Squarespace Templates: Social Icons

Use this tool to find block ID.

Ask me a question if you need help.

Social Icons Style 01. Change color on hover

1. Add Code Block

<ul class="t-social">
<li>
  <a href="https://twitter.com">
  <i class="fa fa-twitter"></i>
  </a>
</li>
<li>
  <a href="https://pinterest.com">
  <i class="fa fa-pinterest"></i>
  </a>
</li>
<li>
  <a href="https://www.facebook.com">
  <i class="fa fa-facebook"></i>
  </a>
</li>
<li>
  <a href="https://instagram.com">
  <i class="fa fa-instagram"></i>
  </a>
</li>
<li>
  <a href="https://skype.com">
  <i class="fa fa-skype"></i></a>
  </li>
<li>
  <a href="https://dribble.com">
  <i class="fa fa-dribble"></i>
  </a>
</li>
</ul>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
  /* code block padding top bottom */
  .code-block {
    padding-top: 0;
    padding-bottom: 0;
}
  /* social icons code */
.t-social {
    display: block;
    margin: 0 auto;
    padding-top: 5px;
    text-align: center;
  	padding-left: 0;
}
  .t-social li {
  display: inline-block;
    margin: 0;
    line-height: 100%!important;
  }
/* icons color */
  .t-social .fa {
    font-size: 26px;
    margin: 0 8px;
    color: #8d8d8d;
}
/* icons hover color */
  .t-social .fa:hover {color:#4285f4;}
</style>

 

Share this post:

Leave a Comment