How to Disable text selection in Blogger and enable it in some place
Some days ago I published a post about disabling text selection of Blogger blogs with script codes. But serious bloggers found some problem with that text disabling system, and they asked me how to disable text selection in every place of blogs except for some place where text selection will stay enable. Do I have a solution for that? Well instantly I told them use CSS to do that. And I think now lots of people need that full length tutorial using CSS to disable all text of blogs and keep enable in some place. Read on:-
body { should be below
/* Content
----------------------------------------------- */
And within ]]><
Some template may not contains .post-body blockquote that case you have to add it into your template; How to?
If your blog’s default Mobile view enabled, in mobile devices your site’s text still can be copy, in that case you got to disable it too.
Should be below
/* Mobile
----------------------------------------------- */
How to Disable text selection in Blogger and enable it in some place
The main idea of this disabling tutorial is; your blog's all text elements will be blocked expect for Blockquote area. Only Blockquote area will stay enabled for coping on specific words; in post when you put some text with Blockquote area those Blockquoted words will be only free to copy.
For doing this follow these steps:-
For doing this follow these steps:-
- Log in to Blogger, Select your Blog
- Go to ‘Template’ tab, Select ‘Edit HTML’
- Search for (Using CTRL+F or CMD+F) into code snippet
body { should be below
/* Content
----------------------------------------------- */
And within ]]><
- Into body { bracket paste these codes
- Then; search again for
- Into .post-body blockquote { bracket paste these codes
- And Save template.
Some template may not contains .post-body blockquote that case you have to add it into your template; How to?
- Search for ]]>< and paste these codes,
- Save template, Case closed!
- And some template may not contains body { in that case search for .outer-wrapper instead.
If your blog’s default Mobile view enabled, in mobile devices your site’s text still can be copy, in that case you got to disable it too.
- Search for
Should be below
/* Mobile
----------------------------------------------- */
- Paste these codes
- And Save template.
After all these process you done successfully your template will not allow any text copy and when you writing/editing a post put those texts (what you decided to keep coping enable) in Blockquote. Simple.....
Any problem feedback thanks leave in comments. Chill.....
Any problem feedback thanks leave in comments. Chill.....
0 comments:
Post a Comment