I am trying to override background color of menu current selected li element in Wordpress using aditional custom css in the personalization panel, but it's not working for a specific class.
I hit F12 in chrome to get the element class name, and I reference it, but it works for other classes.
This is working OK, color is changing:
.activity-list.item-list.bp-list {
background-color: #ffd6d6;
}
The element is <ul class="activity-list item-list bp-list">
This is Not working, color is not changing:
.bp-personal-tab.current.selected.loading {
background-color: green;
}
The element is <li id="groups-personal-li" class="bp-personal-tab current selected loading">
I have searched the internet to try to understand and I get several results saying that with "dots" the style should by applied, so it's becoming hard for me to understand why the first one is working, and the second one is not.
Does the fact that one have a id and the other don't is related?