I have a problem using Bootstrap and Wordpress admin panel.
Basically, I have some Bower components installed, and when I build my project, they all get concatenated together (for both CSS and JS).
The problem is: Bootstrap .hidden
class uses !important
This is an issue for me as some elements on wordpress admin side look like this:
... class=".... hidden" style="display:none" ...>
They have both class .hidden and inline style.
Wordpress default .hidden
class gets replaced by Bootstrap class, and so the inline style gets ignored as well as Bootsrap's!important
prevent it to change from display: none
to display: block
.
Unfortunately, I need bootstrap on the backend for a lot of other stuff.
Is there any way I can replace that class? (i just want to get rid of !important
keeping everything else the same)
Ideally, without changing bootstrap core css
so that it's update-safe
ps: Will this be different on Bootstrap 4? I don't mind updating it if it solves this issue.
Thanks