I want to customize CSS in Laravel Backpack. #923
-
Hello, 'styles' => [ backpack-custom.css .select2-container--bootstrap .select2-results__option { But even after writing custom CSS in backpack-custom.css, it didn't work. Can you please tell me how I can customize CSS? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
Hello @avinashtelsa If you are using a theme you should add your custom styles along with the theme ones.
Btw if your file is in public/css/backpack-custom.css, you should write the path without the "public" Have a look a the docs https://backpackforlaravel.com/docs/6.x/base-themes#theme-configs-1 Cheers. |
Beta Was this translation helpful? Give feedback.
-
Can you share the theme you are using and the CSS code you are trying to customize? Cheers. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Glad you solve the problem. I will close the issue, but please feel free to re-open or create a new one if needed. Cheers. |
Beta Was this translation helpful? Give feedback.
I was able to do it, here the steps:
Here the result
Cheers.