Button 4


Add a fade out and underlined load bar hover style to your buttons - underline slides from right to left. Below you will find a super-simple tutorial that will guide you through the installation and setup of this plugin.

Step 1: Insert the Button block

Add a Button block and set up the text and link as you wish - the size must be set to 'Small'.

You can change the font and text size depending on your Style Editor settings.

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 (optional opacity values '0.8') 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:


.sqs-block-button-element--small {
  height: 60px;
  line-height: 60px;
  text-align: center;
  transition: 0.5s;
  padding: 0 20px;
  cursor: pointer;

.sqs-block-button-element--small:hover {
  background-color: transparent;
  border-color: transparent;
  color: #000000;
    transition-delay: .2s;

  width: 0%;
  height: 100%;
  z-index: 3;
  content: '';
  position: absolute;
  bottom: -1px;
  right: 0;
  box-sizing: border-box;
  transition: .2s;


.sqs-block-button-element--small:hover::before {
  width: 100% !important;
  transition: .7s;

.sqs-block-button-element--small::before {
  border-bottom: 2px solid #000000;

Site wide CSS Injection:


Individual Page Header CSS Injection:

If using this method, be sure to wrap your CSS in <style></style> tags as shown in image 4!


Step 3: 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.

Noughts & Ones