Forum

Thread tagged as: Question, Add-on-development, Feathers

The correct way to alter admin theme?

I would like to alter how a custom addons admin page looks. For example, by default the <ol> doesn't display numbers, so would like to tweak this, possibly with a sub-theme or similar. Is there a proper approach I can use within perch to do this?

Dan Duke

Dan Duke 1 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

If it's your own app, just link in some CSS from within your app folder.

I have several seperate apps, and was thinking of having one admin css override for all admin pages. If this is the case, is it common to just create a file like /perch/css/admin.css and reference that?

Drew McLellan

Drew McLellan 2638 points
Perch Support

No, you shouldn't creating things outside of the add ons folder.

If you don't mind the extra install step, you could add it as a UI plugin. https://docs.grabaperch.com/docs/customizing-perch/ui-customizations/