Customize / override admin theme


#1

Hey guys,

is it somehow possible to customize the admin plugin? I’m thinking of overriding template files, changing some styles for example.


#2

You can change any of the the admin plugins theme files and styles by looking in the plugins > admin > themes > grav folder. It’s set up similarly to other GRAV themes, so you find what you’re looking for in there. Just keep in mind, any updates to the theme at that point will have to manual so you don’t overwrite your changes.


#3

hey @retsoced, thanks for your reply.
yeah I know it’s possible to change files directly inside the plugin folder, but I was looking for a clean solution to keep it safe for updates.

copying template files to my theme folder, like it works with other plugins won’t work I guess… So is there any solution to customize the admin plugin safley?


#4

Looking more at the Admin plugin, you can create your own theme for the admin section, which I assume would be safe from any updates. It has a default theme of Grav, but if you make a copy of it and give a new name, it seems like it would be the best way to do it.

You can select a new theme in the admin.yaml file. Ihaven’t tried it yet though…