Add Hover Animation to Header Links on Squarespace Website

To get a true hover effect in your Squarespace header you need to have Flex Animation installed.

I’m not the biggest fan of Flex Animation however which means I usually tend to add some custom code to create a true hover animation to header links instead.

Keep reading for all the details.

Watch the video

Check out the YouTube video below 👇

To add hover animation to header links on your Squarespace website open Google Chrome Developer Tools by hitting Shift + Command + C on a Mac and copy the ID for the header link you want to target.

Then head to Pages > Website Tools > Custom CSS and paste the ID into your custom CSS box.

You then need to add the following code:

.header-nav-item a {

transition: 0.2s !important;

&:hover {

opacity: 0.2 !important;

transition: 0.2s !important;

}

}

You can play around with the transition and opacity speed to get the effect you want.


📩 Join the inner circle to get exclusive code updates


Once you’re happy with the effect, hit save and you’re all done!


Your designer

I'm Sam, an award-winning Squarespace web designer. I have worked with every type of business, building platforms for solo entrepreneurs through to multi-million dollar corporations. If you want to discuss a potential project, you can email on sam@bycrawford.com or get in touch with me here. Alternatively, you can book in a free 15-minute consultation call here.


Want more?

Sam Crawford

by Crawford is led by Sam Crawford, a multi-award-winning Squarespace website designer with 700+ sites launched for clients in over 30 countries. He builds fast, mobile-friendly Squarespace 7.1 websites designed for SEO, clear structure, and conversion.

As a Squarespace Expert, Enterprise Partner, Circle Member, and community speaker, Sam is known for pushing the platform’s limits. With 200+ reviews, clients highlight by Crawford’s clarity, precision, and real-world results like higher rankings and stronger lead generation.

https://bycrawford.com
Previous
Previous

How to Unpublish a Blog on Squarespace

Next
Next

Add BlueSky Icon to Squarespace