F
Filament14mo ago
Sael

sidebar button change active background color

Help, is there something wrong with my code? .fi-sidebar-item-button:active{ @apply text-white bg-blue-500; } it does not apply
No description
Solution:
.fi-sidebar-item-active > .fi-sidebar-item-button {
@apply text-white bg-blue-500;
}
.fi-sidebar-item-active > .fi-sidebar-item-button {
@apply text-white bg-blue-500;
}
...
Jump to solution
4 Replies
Solution
Andrew Wallo
Andrew Wallo14mo ago
.fi-sidebar-item-active > .fi-sidebar-item-button {
@apply text-white bg-blue-500;
}
.fi-sidebar-item-active > .fi-sidebar-item-button {
@apply text-white bg-blue-500;
}
Andrew Wallo
Andrew Wallo14mo ago
That should do.
Sael
SaelOP14mo ago
Thanks, it worked!!!!
Andrew Wallo
Andrew Wallo14mo ago
No problem

Did you find this page helpful?