Jump to content

How can I remove Anchor element from my website?

Recommended Posts

Hey everyone, i'd like to remove an <a> element from my site, there's no id which makes it impossible for me to figure out! Here's the element's code:

<a target="\_top" rel="noreferrer noopener" href="SimpleURL" class="css-11cewt9" style="display: flex !important; position: static !important; height: auto !important; opacity: 1 !important; color: rgb(51, 51, 51) !important; font-size: 16px !important; align-items: center !important; text-transform: uppercase !important; font-weight: 400 !important;"><img src="SimpleURL" width="16px" alt="" style="margin-right: 5px;">Text</a>

 

Thanks in advance!

Link to comment
  • Replies 3
  • Views 490
  • Created
  • Last Reply
2 hours ago, brownishpotato said:

Hey everyone, i'd like to remove an <a> element from my site, there's no id which makes it impossible for me to figure out! Here's the element's code:

<a target="\_top" rel="noreferrer noopener" href="SimpleURL" class="css-11cewt9" style="display: flex !important; position: static !important; height: auto !important; opacity: 1 !important; color: rgb(51, 51, 51) !important; font-size: 16px !important; align-items: center !important; text-transform: uppercase !important; font-weight: 400 !important;"><img src="SimpleURL" width="16px" alt="" style="margin-right: 5px;">Text</a>

 

Thanks in advance!

Hi. you can simply target it from the class name. 
code:
.css-11cewt9 { display: none; }
This code will hide the anchor <a> from your website. 

Link to comment
8 hours ago, Agha_Waqas said:

Hi. you can simply target it from the class name. 
code:
.css-11cewt9 { display: none; }
This code will hide the anchor <a> from your website. 

Thanks for you reply, I tried doing that but nothing happens! 

Link to comment

Archived

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.