I hope you are well today and thank you for your question.
You can change the AJAX image size by developing custom code as described below.
https://wporg.ibadboy.net/support/topic/resizing-ajax-images/#post-14630025
Best regards,
I have used these CSS, but I am convinced that they are not good.
.attachment-full.size-full.wp-post-image {
max-width: 460px;
}
.left-section {
width: -moz-available;
}
#is-ajax-search-result-3164 a, #is-ajax-search-details-3164 a:not(.button) {
background-color: transparent !important;
}
Not just CSS code, you have to use the PHP code as displayed in the above-shared topic.
I added the PHP, but given the ineffectiveness, I’ll try to remove it and see if it works. I think so.
I worked more on his CSS, but the box shadow uses gray instead of black. Look at the menu and image in the search. https://imgur.com/a/es4iqFQ
I have doubts about this CSS;
.left-section {
width: -moz-available;
}
The width works well with Firefox. I’ll have to try other browsers and see the changes to make. My doubt is that I won’t have full compatibility across multiple browsers.
I can see in your shared screenshot that you managed to make the image size larger.
How can I help you now?
I cannot get a proper image with desktop, tablet, and mobile. On the mobile, the image is cropped. At first glance, there doesn’t seem to be a problem, but looking at the original image, the right side is missing.
You have to develop custom code to achieve this.
If you are not a developer then you can consider hiring a developer to develop it for you.
A reply not very usefull. This mean that I never have agood image size, because not exist a value as 100%, fill content or something o similar? I’ve tried them, but with bad results. images was too smalls or too bigs. A strange trouble.
Yes, you can change the image size in the search results by developing custom code as stated in my earlier replies.
Or…. Add image size for phone… ;P For now. But, trouble is put them in middle. How can I do it?
You have to develop custom code to do that.