Jump to content

Recommended Posts

  • Replies 3
  • Views 1.4k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted
55 minutes ago, bbradley said:

Hello! I am looking to figure out how to customize my subnav links so that when you hover them the green line in my main navigation appears. i have tried a few codes and can't figure it out. Thank you!

 

Site URL: https://bes.squarespace.com/

Password: BES!

Do you want same navigation hover effect same as main navigation on sub navigation?

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

  • 2 weeks later...
Posted

@bbradley try this in your custom CSS:

footer h3 a:after {
    content: '';
	display: block;
	border-bottom: 2px solid var(--glass);
  	transform: scaleX(0);  
  	transition: transform 250ms ease-in-out;
	transform-origin:  0% 50%;
}
footer h3 a:hover:after {
    transform: scaleX(1);
}

May need some fiddling with once the :after element is there, but something along those lines should work?

Create an account or sign in to comment

You need to be a member in order to leave a comment

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