images size on mobile

Posted in: Newspaper
Post count: 9

Why the images of my article do not automatically adapt the size to see them on the mobile ?. Please, a clear answer, I do not speak English.
https://territoriofotografico.com/imagenes-ganadoras-iii-certamen-de-fotografia-signo-editores/
https://territoriofotografico.com/estas-son-las-fotos-ganadoras-del-olympus-global-open-photo-contest-2017-18/

Post count: 20688

Hi,

From what I can see all your images have a fixed with of 600px or 550px
https://www.screencast.com/t/mED7HCPHLO
How exactly did you enter the images in the post content? This should not happen if you entered them through the default WordPress editor
https://www.screencast.com/t/LMCtmtK1
Check in the post edit screen Text tab, if there are any fixed widths for the images remove them
https://www.screencast.com/t/kGCBQWMOMX

Try to create a new test post, enter some images in it through the Add media button, check how they display on mobile. By default the images are responsive, so there should be no problem.

Thanks

Post count: 9

1. I only upload the images through the WordPress editor by default.
2. I did not understand what you mean by the next point (https://www.screencast.com/t/kGCBQWMOMX)

Post count: 20688

I believe there is something wrong with the image captions after more inepcting. When you add a caption for the images here
https://www.screencast.com/t/VtkHftxwMO66
There will be some CSS loaded, which seems to be missing in your case. Here is how it looks for me
https://www.screencast.com/t/Gszd40Br
And here in the posts you mention – https://www.screencast.com/t/psQnV8QH0m6Y

I can give you a code to add the missing CSS and resolve the problem
https://www.screencast.com/t/yrjaNzVNH6

Enter the code in Theme panel->Mobile theme->Custom CSS section

.td-post-content figure {
text-align: center;
max-width: 100%;
}

Try it and let me know.

Post count: 9

Perfect, now it works and the images adapt to the mobile.
Thanks for the help and the screenshots.

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.