Cannot change the flag image from Branching scenario, why?

Franko's picture

Hi everyone,

I hope you are Ok. 

I am changing some visual parts of H5P, colors principally by using a style sheet. But I would like to change the flag image in Branching scenario. I am using this kind of code: 

.h5p-branching-scenario .h5p-image-container.h5p-default-start-image {background: url("link of my image");} 

Someone could give me a hand, please?

BV52's picture

Hi Franko,

You can configure this by going to the settings and uploading a different image in the start screen category.

-BV

 

Franko's picture

Thank you so much BV. 

And do you know how to do to make the image by default? So teachers do not have to charge the image but to have an image by default. 

Thank you in advance for your information.

Cheers

villon's picture

Hello Franko,
I think the easiest way to do this is to create a template with your image and make it available as a template. Otherwise, you will have to dive into the depths of the code and take a closer look at the branching scenario.

Greetings villon

BV52's picture

Hi Franko,

I agree with villon, a template H5P is easier to distribute and edit if needed. Making changes to the code will be harder to manage since these may break if a new update is released by the core team.

@villon - thanks!

-BV