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
  • Created
  • Last Reply

Top Posters In This Topic

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

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.