Using display: none to hide an element is against ok?

Using display: none to hide an element is against ok?

I am running a wordpress website. I actually wanted to hide "my admin bar" from the posts. I tried removing it from the theme template editor but I couldn't find that particular code. So I planned to remove that admin bar with CSS display: none technique.

Is this a bad SEO practice? This doesn't come under hiding the content/text, right? Is it ok?