the button in cards is not centered

Here i attach a picture of my problem, i havee the last h5p plugin in wordpress installed, i see in other websites the button to turn the card is showing exactly in the center, but in my page is showing slightly to the right. I´d like to know the reason

Content types: 
otacke's picture

Hi Josu88!

I fear without having access to that page where one could check out the problem, it's virtually impossible to say.

Best,
Oliver

Thanks for your quick answerr, i created a test page so you can see the issue, i cant understand why the button is not showing in the center of the card https://tuespanol.ru/test-h5p/

thank you for your attention

otacke's picture

Hi Josu88!

That's a bug. The buttons for checking "correct" and "incorrect" have different propertions and they are only hidden because they are not in use, but they are not completely removed - so they still take up the space.

Best,
Oliver

 

thanks for your quick answer, im not sure i understood it, is there a way to fix it?

otacke's picture

Hi!

It's a bug, it can be fixed. Someone will have to fix the code, or you'll have to use a workaround and delete the default text for the "I got it right" and "I got it wrong" buttons in the editor.

Best,

Oliver 

thanks for your answer, im in the editor now but i cant find any option to delete the buttons "i got it right" and "i got it wrong". Where is it?

Attachments: 
otacke's picture

Hi!

There's no button to delete the text. You can replace any user interface text in the "Text overrides and translation settings" section.

Best,

Oliver 

It worked, thanks a lot!!

otacke's picture

You're welcome! I also just created a pull-request that will fix the bug, but the H5P core team will have to accept and review it. I can't influence that.