Jump to content

How to remove the underline of linked contents?

Recommended Posts

  • 4 weeks later...
39 minutes ago, CalvinEK said:

I would like to do is to remove the underline on Headings (H1, H2, H3, H4) when they have links "on them".

Add this to Design > Custom CSS:

h1 a, h2 a, h3 a, h4 a {
  text-decoration: none!important;
}

 

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

Link to comment
  • 1 month later...
16 hours ago, waterthensprout said:

Is it possible to do this on a basic plan? Perhaps with just a code block?

Hi.

Basic Plan still supports Custom CSS. You can add code to Home > Design > Custom CSS

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
  • 4 weeks later...
12 hours ago, CherryJ said:

 

I tried your code but it doesn't seem to work for me. Scroll to the bottom of this page to see the underline:

https://www.cherryjeffs.com/how-to-finish-a-project

 

 

Screenshot 2022-10-14 at 17.04.07.png

Use this new code

h1 *, h2 *, h3 *, h4 *, p * {
    text-decoration: none !important;
    background-image: none !important;
}

 

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
On 10/20/2022 at 9:23 PM, louisejmora said:

Hi I am trying to make this change but I want to remove the underline from my monospace font selection. What would the code be for this please? Thanks

 

Try this code

pre code {
    text-decoration: none !important;
    background-image: none !important;
	border: none !important;
}

 

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.