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.
When using Field Group horizontal tabs, the selected tab does not immediately respond visually to the state of being selected.
First it shows dark grey like this:
and only after right-clicking the tab again, it gets the required color (white):
Comments
Comment #1
Yuri CreditAttribution: Yuri commentedI solved this by overwriting this style in horizontal-tabs.css
.horizontal-tabs ul.horizontal-tabs-list li:hover, .horizontal-tabs ul.horizontal-tabs-list li:focus {
background-color: #ddd;
}
setting the background-color to white solved this.
Comment #2
simeAs this is an old issue in D7, deferring to the Yuri's solution.