How to disable text selection on Shopify store?

Sell Online With Shopify
Trusted by millions of businesses worldwide
Sign up for a free trial and enjoy 3 months of Shopify for $1/month on select plans.

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


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.


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


Looking for Shopify Experts?

Hura Apps can help you take your store to the next level

Our team of experienced designers and developers can help you create a beautiful, high-converting Shopify store that will drive sales and increase customer satisfaction. From custom design to app development and optimization, we have the skills and expertise to help you achieve your eCommerce goals.

Get in touch

You may also like...

Leave a Reply

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