Configuring the iFrame background colour

Hi,

I'm embedding some H5P content from wordpress in an iFrame which works well. However, the background colour of the main web body is not white, but grey.

The iFrame renders the content with a white background which I've identified as this style:
.h5p-question {
    background: rgba(255, 255, 255, 0.9);
}

which is coming coming from your questions.css

I can remove the background colour but this will get overwwritten when I do an update. Any suggestions? Ideally would be nice to have a setting somewhere for site text / background colours.

Thanks,
Alex

falcon's picture

Hi!

There are APIs for doing CSS overrides for both WordPress and Drupal. Have you had a look at them?

Hi,

Can you tell me how I can remove the white background? Thanks.

Hi,

Can you tell me how I can remove the white background? Thanks.