Changing FilementPHP Header Colors: Can You Hack the Vendor Folder and Tweak That Topbar?
Does anyone know if it is easy to change the header colors of filementphp. You could do this by overwriting CSS, but the problem is that the menu and the classes associated with it live within the filementphp package, i.e. in the vendor folder. Is it possible, for example, to take the topbar/index.blade.php outside the vendor folder and overwrite it?
6 Replies
Why would you do that. You should just add some custom CSS......
You can overriude the view too, but we HIGHLY recommend against it, especially for a simple color change.
So overwrite the bg-white class for example?
Solution
Can you do this?
Don't seems to work. The css is loaded but nothing changes
I can't see all your code... But it's fairly simple. Just say do:
run npm run build to compile it in and your class should be there. this is basic css
That sir, did work
The topbar was overwritten