Guest Posted May 1, 2021 Posted May 1, 2021 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!
Agha_Waqas Posted May 1, 2021 Posted May 1, 2021 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.
Guest Posted May 2, 2021 Posted May 2, 2021 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!
Agha_Waqas Posted May 2, 2021 Posted May 2, 2021 13 hours ago, brownishpotato said: Thanks for you reply, I tried doing that but nothing happens! Can you please share the website link
Recommended Posts
Archived
This topic is now archived and is closed to further replies.