Jump to content

Underline Menu items On Hover

Recommended Posts

@LivAils Add to Home > Design > Custom CSS

/* Hover */
nav.main-nav a:hover {
    border-bottom: 1px solid currentColor !important;
}
/* Active */
nav.main-nav .active-link a {
    border-bottom: 1px solid currentColor;
}

You can also use text-decoration: underline; but i like border-bottom 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 1 year later...
On 8/24/2021 at 8:47 PM, christinemcmillen7 said:

@tuanphan would you have a code to do this exact thing but use an image or even a .gif for the underline? I’m looking to do this but with a squiggly line, ideally a squiggly line that squiggles as it’s hovered over

Hi.

This is possible. I used to solve some cases.

Can you share link to your site? Each items will need a different image or same image?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

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.