What’s the easiest way to remove the link from a listing title?
Hi,
Could you please clarify which link in the listing title you’re referring to? Screenshots would be helpful to better understand the request.
Thank you, @kseniia, for your response. Yes, of course. Please check the screenshot! This is the title I would like to remove/disable the hyperlink from.
I used CSS to remove the interactive behavior of a link from a title by utilizing the pointer-events property:
.hp-listing__title a {
pointer-events: none; /* Disables all pointer events on the link */
cursor: default; /* Changes the cursor to the default arrow, indicating it's not clickable */
text-decoration: none; /* Removes the default underline for links */
color: inherit; /* Inherits the color of the parent element, so it doesn't appear as a link color */
}
Thank you for the solution!
.hp-listing__title a {
pointer-events: none !important;
}
The one line should also be enough.
1 Like
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
