Shopify themes, liquid, logos, and UX
Hi,
I would like to disable highlight and copy text so prevent anyone from copying text I have on my website. Can someone help me with this please? I would really appreciate it.
Thank you so much 🙂
Solved! Go to the solution
This is an accepted solution.
Hi, @midas8858
You can try this code
1. Go to Online Store-> Theme->Edit code
2. Asset-> base.css ->paste the below code at the bottom of the file.
body {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
This is an accepted solution.
Hi, @midas8858
You can try this code
1. Go to Online Store-> Theme->Edit code
2. Asset-> base.css ->paste the below code at the bottom of the file.
body {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
It's worked. thank you Ahsan
Can you also provide code to disabled right click to save images and long press to save images on mobile devices?
after body add this to your base.css for disabling the right click to save images
img {
pointer-events: none;
}
Worked. thank you again
worked perfectly!! thank you
Hi, this didnt work for me. Any other suggestions?
Hi, That's a good point.!I was thinking about that too. would you do it on the theme setting or you have to do specifically everywhere you want it. Please let me know. thanks. Marielle.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024