Cannot change the flag image from Branching scenario, why?
Submitted by Franko on Thu, 04/21/2022 - 16:51
Forums:
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
Thu, 04/21/2022 - 18:39
Permalink
Hi Franko,You can configure
Hi Franko,
You can configure this by going to the settings and uploading a different image in the start screen category.
-BV
Franko
Thu, 04/21/2022 - 21:14
Permalink
Thank you so much BV. And do
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
Fri, 04/22/2022 - 16:21
Permalink
And do you know how to do to make the image by default?
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
Fri, 04/22/2022 - 18:17
Permalink
Hi Franko,I agree with villon
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