I am using the default template pack bp-nouveau and I noticed the tag #buddypress plastered all over the place in the min.css file I want to know if I can remove this and still have the template work fine ?.
I don’t have anything against bp I just want to make it harder for security reasons. I don’t want to use a custom theme if possible.
Thank you for the question.
You can remove #buddypress from the css file. It is used to provide higher specificity for applied css.
If you remove it, some of the elements may not appear as expected if the theme ‘s css gets higher specificity. In that case, you can rewrite css for that part.
In my opinion, removing #buddypress from css is not much of a security as it is still visible as part of the markup. A more suitable option is to keep the plugins updated to avoid issues.
The topic ‘ [Resolved] Question about css tag’ is closed to new replies.