• Resolved ari

    (@arihant2301)


    Hi,

    I am looking for an option to customise the CSS of h5p. I have tried adding the css in appearence->Customise->Customise CSS but it is not applied to the h5p content.

    Where can I add my own custom css for custom look & feel?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author icc0rz

    (@icc0rz)

    Hi,

    Most of the H5P content types are inserted in an iframe to avoid conflicts with all the different themes people use, i.e. the regular CSS customizations don’t work. Currently, you have to use an action/hook to insert custom CSS, but we’re hoping to have an extra textarea for this in the future.

    Here’s an example of how you can include custom CSS:
    https://github.com/h5p/h5pmods-wordpress-plugin/blob/master/h5pmods.php#L115

    Thread Starter ari

    (@arihant2301)

    Thank you! That solved the issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom CSS’ is closed to new replies.