Where can i put custom css files to customize ActiveAdmin CSS?
I see in active_admin.rb there is the following line:
config.register_stylesheet 'active_admin.css'
but i can't understand where the file has to go. All i want to do is add some extra custom styles to AA's default ones
Lets say I have 2 css files, highlight.css and select2.css
In config/initializers/active_admin.rb
, I would add it like this:
config.register_stylesheet 'highlight.min.css'
config.register_stylesheet 'select2.css'
Note:
highlight.css and select2.css should be inside/under app/assets/stylesheets
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With