Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background Image change #28

Open
juanalverto opened this issue Jul 3, 2017 · 4 comments
Open

Background Image change #28

juanalverto opened this issue Jul 3, 2017 · 4 comments

Comments

@juanalverto
Copy link

Hello, good day

Can you please give me an example on how the image url should be written on this part of the code in order to change the Background image of the game? , i tried to putting my image url in there, but i can´t change it. Thanks!
file: card.js (line 172)
// Add back image for card
if (backImage) {
var backgroundImage = 'background-image:url(' + backImage + ')';

@icc
Copy link
Member

icc commented Jul 4, 2017

Which image are you trying to change? The one on the card or the graphics on the backside of all the cards?

@juanalverto
Copy link
Author

Hello, sorry for the late response.
The one on the backside with the question mark. I changed by modifying the CSS, but when i try to embed the game in another website, it still taking the question mark as the backside design.

@icc
Copy link
Member

icc commented Jul 17, 2017

By following this guide you can ensure that the CSS is always loaded when the content is displayed: https://h5p.org/documentation/for-developers/visual-changes

@beng970804
Copy link

Hello, sorry for the late response.
The one on the backside with the question mark. I changed by modifying the CSS, but when i try to embed the game in another website, it still taking the question mark as the backside design.

@juanalverto May I know which part of the CSS u had change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants