FilamentF
Filament2y ago
Xavi

How to apply CSS to sidebar navigation group

Hi everyone!

I want to apply CSS to only one navigation group, but it doesn't works. For example if i want to hide navigation group label for a menu called "First Menu" i add this code

.fi-sidebar-group [data-group-label="First Menu"] > div:first-child {
    @apply hidden
}


but it doesn't works. Any ideas?

Thanks a lot!
Solution
@Xavi, you need to remove the space before [data-group-label]
Was this page helpful?