Jump to content

Remove Underline from Heading Text Only

Recommended Posts

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

Hi there!

I have a specific section on my site, where I would like to hyperlink text  (artist name) without an underline.  I set the text up through a Markdown block to solve a spacing issue that I had.  I'd like to keep the rest of the underlines on hyperlinked text as is. 

Site: https://shawnapeezy.squarespace.com/
Password: SPS
Page: Work > Any Artist (India Shawn for example)

Markdown block example:

<span style="font-size: 20px;">**Creative Services**</span><br>
<span style="font-family:Times New Roman; font-size:3.25em; ">*India Shawn*

*In this example, I'd like India Shawn to be hyperlinked (without the outline.)

If anyone has a solution, I'd greatly appreciate it!

Link to comment
  • Replies 2
  • Views 1.9k
  • Created
  • Last Reply

First, add this to Design > Custom CSS

.markdown-block a {
	text-decoration: none !important;
	border-bottom: none !important;
	background-image: none !important;

next, edit this code

<span style="font-family:Times New Roman; font-size:3.25em; ">*India Shawn*

to this

<span style="font-family:Times New Roman; font-size:3.25em; "><a href="https://google.com">India Shawn</a></span>


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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment


This topic is now archived and is closed to further replies.

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