[ad_1]
I have something I really don’t want people to know about on one of my WordPress websites.
Is there a way to block browsers from viewing the source code and the CSS ?

No. They need to be able to view the code to render the site.
Nope. You can make it harder to correctly read the css by humans, but thats all.
If the browser can render it, then anyone can read it. Security through obscurity is not an option for HTML, CSS, javascript.