F
Filament7mo 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 Wallo7mo 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 Wallo7mo ago
That should do.
Sael
Sael7mo ago
Thanks, it worked!!!!
Andrew Wallo
Andrew Wallo7mo ago
No problem