Jump to content

Change hover colour on a specific page

Recommended Posts


I want to change my hover underline colour on a specific page to black, is there someone who can help me out? I want to change the colour on my About page to black

My website: etrenoir.net

I'm currently using this code for my hover underline:

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


Link to comment
  • Replies 1
  • Created
  • Last Reply


This topic is now archived and is closed to further replies.

  • 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.