Hello,
I just created a website and I would like to know how we can disable the text selection on any page of the website. I know this is not a very effective solution to prevent stealing but I just would like to discourage people from copying my text.
I saw that it’s possible with some custom code but I can’t figure out how to do it on my own (newbie here and never done this before )
Thank in advance.
@Amelia to follow-up on @vish’s solution (this is a slightly different explanation, maybe a bit easier to follow if you aren’t experienced with webflow/CSS at all:
Hi there - I used a custom CSS version to disable the text selection for specific elements (tested with div blocks). Super simple:
Paste the code into the inside tag of your page if you want it to be applied to all of the elements that have the no-select class:
And then apply the following class to the object (e.g. div container) for which the user’s ability to select text should be disabled - it can be applied as a combo class as well - you will probably have to create it: no-select
As a result the option to select text shouldn’t be available for the according object.