This snippet prevents visitors from selecting text anywhere on your site, making it harder to casually copy or highlight content. It creates a smoother locked down experience for portfolios, galleries, or premium resources, but keep in mind it is not a foolproof security measure since clever folks can still access the content through developer tools.
Add this code with a snippets plugin set to <head>, or use Page Custom CSS or Site Settings.
body {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
Some solutions only work on the live site. Always publish and test after each change, as results may not appear in the editor.