This issue has been migrated from the Forge. Read the original ticket here.
Probleme d'affichage des photos sur page d'accueil (blog texte personnalis茅"
Comment r茅soudre cela ?
N/A
This comment has been migrated from the Forge. Read the original comment here.
Hi chauvineau,
Please, send your request in English.
English is the norm on the Forge
Thank you!
Best regards, Khouloud
This comment has been migrated from the Forge. Read the original comment here.
Hi chauvineau,
I manage to reproduce the issue with the last version 1.7.4.2 & the Custom text blocks v4.1.0
We will see how to fix it.
Best regards, Khouloud
Khouloud
It's possible to be informed of the bug fix
Florian
@khouloudbelguith It's when you upload an image in the editor bloc text like this ?

in the editor everything is fine, that's when the page is displayed on mobile and tablet
@marion, yes!

I manage to reproduce the issue with PS1.7.6.0beta1

Thanks!
@khouloudbelguith The image size can be reduced in the editor bloc
@marionf, but in the FO, when we don't use a mobile, it is well displayed

Thanks!
Fixed by adding in #custom-text tag in themes/classic/_dev/css/components/custom-text.scss file, following lines:
img{
max-width: 100%;
height: 100%;
}
And recompile theme assets with npm run build

Hi @Klemart3D,
Would you be willing to make a pull request on GitHub with your code suggestion?
https://github.com/PrestaShop/PrestaShop/tree/develop
Thank you!
Done: #16147
Most helpful comment
Done: #16147