Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently there are the following CSS selectors, which also affect my theme:
.menu-item:hover {
background: #fff;
}
.menu-item:focus {
background: #abeae4;
}
.menu-item--expanded .menu {
background: #fff;
width: auto;
height: auto;
}
.menu-item--expanded {
background-color: #f5f5f2;
}
I'd suggest prefixing them with .toolbar
.
Comment | File | Size | Author |
---|---|---|---|
#2 | too_general_css_selcetors-2635154-2.patch | 1.02 KB | Lukas von Blarer |
|
Comments
Comment #2
Lukas von BlarerThe attached patch works for me.
Comment #4
eme CreditAttribution: eme at emerya commentedI do agree. Let's commit this !
Comment #5
eme CreditAttribution: eme at emerya commented