Dec 20, 2018 11:12 am
some images do not adapt to the format of the screen when I see them from the mobile.
Example:
https://forocomprasonline.com/foro/consejo-smart-tv/tv-grundig-55/#post-486
Any solution or suggestion?
3 Replies
Dec 20, 2018 12:44 pm
Hi @franricht,
How are you embedding the image from Amazon? The issue comes from this part, it adds the width to the div with the "ivStage" id. try this CSS code, it should solve the issue.
@media screen and (max-width: 620px) {
div#ivLargeImage{
margin: 0 auto !important;
height: auto;
width: 100% !important;
min-width: auto !important;
}
}
@media screen and (max-width: 620px) {
div#ivStage {
width: 100% !important;
}
}
Dec 20, 2018 4:32 pm
I take the Amazon image with the mouse and drag it to the forum.
The code gives me an error. The image appears smaller but is not centered and remains on one side.
Would it be better instead of putting the code to compile the link of the image?
Thanks!
Dec 20, 2018 4:40 pm
Yes resolved!
Pasting directly the web address of the image looks perfect on the mobile.
Thank you!