Righty Navigation Line

Look Demo

Give navigation links a clean and simple underline hover effect. This plugin uses css editor and works with the Brine template family.

How To Install

From your Squarespace account, go to the Custom CSS Editor. Copy and paste the code below into the Custom CSS Editor box.

// Righty Nav Line /

@media all and (min-width:770px){
header nav a{
  display: inline-block !important; 
  float: none;
}

header nav a:hover:after{
  transform: scaleX(1);
  }
  
header nav a:after {
  display:block;
  content: '';
  border-bottom: solid 2px #FECB2F;  
  transform: scaleX(0);  
  transition: transform 250ms ease-in-out;
  z-index: 999;
  transform-origin :100% 50%;
 }
}

Customize

Change the border-bottom color value to change the color.

Notes

No notes.