Currently, I am in the process of customizing a WordPress theme.
In my situation, a div is being generated through a widget, with multiple classes:
<div class="col-lg-3 focus-box item-1">...</div>
The parent theme and bootstrap stylesheet already have properties applied to the focus-box and col-lg-3 classes respectively.
I then added the following to my child-theme stylesheet (which has been working fine for other things):
.item-1 { background-color: orange; }
However, this adjustment did not take effect. After trying the following in my child-theme CSS:
.col-lg-3 (or focus-box) { background-color: orange; }
.item-1 { background-color: orange; }
This approach worked... I'm quite perplexed by what's going on here.
Considering that my child-theme stylesheet is loaded last, it should override all others, right?
If anyone has any insights, I would greatly appreciate hearing them :-)
Thank you in advance for your assistance.
Sincerely, Sommy