Changing Navbar Color
I have changed the navbar color according to the documentation https://filamentphp.com/docs/3.x/support/style-customization but my problem is by default the navigation label are gray so i changed to white as shown on my screenshot but when i do that when the navigation button is active the text is still white. How can i target the active navigation item. I looked through the dev tool but cannot target the active item
8 Replies
?
That works fine,. Can you help me change the font color when hover as well
.fi-sidebar-item-button:hover
?
it should be class:hover
When i make hover on item-label it works
Not working...
hum.. maybe
@apply !text-primary-900
or hover:!text-primary-900
?Still no change with .fi-sidebar-item-button
when i target label instead of button i can achieve almost similar to what i want but text color only changed when i hover that text area only
Customization is so weird
Just open the devtools and see where your rules apply or why they aren't applying/which rules are overwriting your rules.
Yes some rules were overlapping i guess, i can finally fix it
Thanks for yor response