Hello,
(I’m sorry for my english, it’s the translator)
How can I get an automatic resize my images above my posts. Is it possible to change the size of this image? Link example.
I have this problem with all the posts. I resized the images in library but nothing changes.
Thank you in advance for your replies
Hi nitrous
You can try the following under Appearance > Custom CSS and adjust as required.
Thank you for your reply.
This solution solved the problem for the width but not the height.
Example: http://www.nitro-design.be/beach-flag-vitalite-services/
I added “max-height: 30%;” , but nothing has changed.
There is also the image isn’t complete display
Example: http://www.nitro-design.be/blocs-note-autocopiant/
http://www.nitro-design.be/feuilles-autocopiantes/
But not on all posts
Please try the following and see how that goes:
Adjust as required.
You can remove margin-left: auto; margin-right: auto; if you don’t want the image to center.
I tried but nothing changed
Except “margin”, it works well.
Phew, ok, if I go back to my original CSS, that does seem to work:
The other option is to use the Simple Image Sizes plugin to change the size of the images:
https://wordpress.org/plugins/simple-image-sizes/
After using that, you need to run the Regen Thumbnails plugin:
https://wordpress.org/plugins/regenerate-thumbnails/