Custom CSS for H5P in Moodle
I need to chnage some basic styles like button color, text fonts etc. in H5P for Moodle. I want to use an existing theme to add custom H5P css. Could you please give me a step-by-step guide to do that?
I tried following your documentation here - https://h5p.org/documentation/for-developers/visual-changes but didn't get the expected result. Can you please provide more detailed instructions; for example - if I am using an exisiting theme, in which php file of my theme should I "add a handler for the h5p_alter_styles override function". I tried adding it in lib.php file but eneded up getting a server error (screenshot attached).
Thanks in advance! :)