Notifications
Clear all

How To Disable Links

2 Posts
2 Users
0 Reactions
1,483 Views
(@soarbeyond)
New Member
Joined: 6 years ago
Posts: 3
Topic starter  

Hi. Can you please let me know if there is a way for me to be able to disable links from being clicked and followed within comments and how I can achieve this? I appreciate any assistance which you can provide me. Have a great day.


   
Quote
Arina
(@arina)
Support Team
Joined: 11 years ago
Posts: 101
 

Hi @soarbeyond,

I think this CSS code should work as you expect.

.wc-comment-text > p > a {
color: inherit !important; /*remove this line if you'd not like to change the link text color*/
cursor: not-allowed;
}

   
ReplyQuote
Share:
Scroll to top