Jump to content

Remove Hover Underline on Title Only

Recommended Posts

Site URL: https://www.leonieguyer.com/

I want to change the rollover behavior of my site title only. The entire site is set to underline on rollover, which is great, but on the site title, I do NOT want the underline. Not sure how to do it. Been fiddling, but no luck.

Here is the css I have for underlining (see below). Can I make this affect everything except the site title?

a:hover {
 text-decoration: underline !important;
}

 

Thanks!

 

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Add to Home > Design > Custom CSS

.site-title a {
    text-decoration: none !important;
}

 

5mins

Edited by tuanphan

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.