SocialIcons3.gif

Social Icons 3

Add a jump animation, shadow and custom colour on hover to 'Regular' icons in the Social Links block. Below you will find a super-simple tutorial that will guide you through the installation and setup of this plugin.

 

 

Step 1: Add the Social Links

Add a Social Links block and set up the alignment and size however you wish - the style must be set to Regular.

 

 

Step 2: Insert the CSS

Insert the following code into your Squarespace site's Custom CSS editor or the Individual Page Header CSS injection (more info below) - the values in bold can be changed to suit your branding and site design. 

Where colour values are added, you can use either of the following:

  • Valid colour name e.g. 'red' or 'yellow'
  • Hex value e.g. #FECB2F
  • RGB(a) value e.g. rgb (255,255,255) or rgba (255,255,255,0.8)  - optional opacity value '0.8'
  • HSL(s) value e.g. hsl (0, 0%, 20%) or hsla (0, 0%, 20%, 0.8) optional opacity value '0.8'

If you need help finding colours and building colour palettes - coolors.io is an awesome resource!
 

Copy & paste this code:

/* SOCIAL ICON STYLE 3 CSS */

.sqs-block-socialaccountlinks-v2 a {
  overflow: visible;
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  position: relative;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.sqs-block-socialaccountlinks-v2 a:before {
  pointer-events: none;
  position: absolute;
  z-index: 1000000;
  content: ' ';
  top: 100%;
  left: 5%;
  height: 10px;
  width: 90%;
  opacity: 0;
  background: -webkit-radial-gradient(center, ellipse, rgba(0, 0, 0, 0.35) 0%, transparent 80%);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, transparent 80%);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform, opacity;
  transition-property: transform, opacity;
}
.sqs-block-socialaccountlinks-v2 a:hover, .sqs-block-socialaccountlinks-v2 a:focus, .sqs-block-socialaccountlinks-v2 a:active {
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
}
.sqs-block-socialaccountlinks-v2 a:hover:before, .sqs-block-socialaccountlinks-v2 a:focus:before, .sqs-block-socialaccountlinks-v2 a:active:before {
  opacity: 1;
  -webkit-transform: translateY(5px);
  transform: translateY(5px);
}

.social-icons-style-regular .sqs-use--icon{
  fill: #000000 !important;
}
.social-icons-style-regular .sqs-svg-icon--wrapper:hover .sqs-use--icon{
  fill: #FECB2F !important;
}
 

Finding your Custom CSS editor:

 

Individual Page Header CSS injection

 

⚡️ Apply, Save & Refresh! ⚡️

 

Need some help?

If you need help installing your plugin or you find that the code provided is not working - please feel free to contact us by clicking the link below.