Custom css to disable copy/paste getting stripped
-
I’m trying to add some custom css to disable copy/pasting on my site. The relevant css attributes seem to be stripped when I save and reload the “Additional CSS” sidebar. Other css code I added after this part seem to be fine.
Before:
body { -webkit-user-select: none; -moz-user-select: -moz-none; -ms-user-select: none; user-select: none; }After saving and reloading the “Additional CSS” page:
body { }The blog I need help with is: (visible only to logged in users)
-
It’s not possible to add custom css on a free wordpress.com site.
Also it’s not possible to prevent copying from your site. You can only make it a bit more difficult but there will always be a way round.
-
I paid for custom css, which generally works for my site except for the code segment above. I am aware it is impossible to foolproof my WP site from copy/pasting, but even this valid bit of code isn’t working as expected.
-
We can’t help with custom css. But you find usefull info at https://wordpress.com/support/editing-css/css-support/#css-help
- The topic ‘Custom css to disable copy/paste getting stripped’ is closed to new replies.