Custom theme: styles not applying #1477
-
Hello everyone, I've encountered a problem and can't figure out what's wrong. I'm trying to customize a table as instructed in the customization guide, and created my own class I inherited from the Tailwind theme, refreshed the page - nothing works. Added to the search box a class "eewfewfwef", deleted all the others - refreshed the page - nothing. I reverted to the classic theme What's the problem? Why can't it override the classes that I set in my own theme? Moreover, if I change the theme name, everything crashes with an exception that the theme cannot be found... Here is what I'm customizing: public function searchBox(): SearchBox
{
return Theme::searchBox()
->input('eewfewfwef')
->iconClose('text-pg-primary-400 dark:text-pg-primary-200')
->iconSearch('text-pg-primary-300 mr-2 w-5 h-5 dark:text-pg-primary-200');
} and if it's in my class - nothing happened. changing to the default theme and customize in the vendor folder - works great I did everything as in the instructions. Any ideas? Laravel 10.48 and Last PowerGrids |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I cant reproduce it. I've created a custom theme:
configure it in the livewire-powergrid.php:
I tryed it with bootstrap, works too. Maybe you can try to delete all caches:
|
Beta Was this translation helpful? Give feedback.
I cant reproduce it. I've created a custom theme:
configure it in the livewire-powergrid.php:
Result:
I tryed it with bootstrap, works too.
Maybe you can try to delete all caches: