How to disable text selection on Shopify store?

Enercos - Single Product eCommerce Shopify Theme

For some reason, you don’t want to allow visitor select text on page. It is possible with CSS code.

AntiCopy

You open CSS file of your current theme and add the below code into it:

Now, you must add the class name “noselect” into the wrapper tag you don’t want to allow select text.

Example:

If you would to make it for all elements on page, you must add this class name in to body tag.

DEMO

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *