XF 2.2 What Style or template setting would cause this?

BasilFawlty

Active member
I have a style that is causing a weird problem (yes, I did post this question in the discussion for the specific style but not getting any response). What is happening is, that some pictures that I add to a post are getting squashed. They seem to have the correct width but the height is less than it should be. Here is an example:

Screen Shot 2021-05-12 at 10.47.17 AM.webp

Here is what that picture is supposed to look like:

IMG_3434.webp


Hoping someone can suggest where to look to correct this issue.
 
Impossible to say from a screenshot and your site has guest restrictions so I can't check the browser console.

The style author will be able to assist.
 
The style author will be able to assist.
I've posted in the discussion for that style and also PM'd author a few days ago. Only posted here due to no reply there. Hoping someone could point me in the right direction with respect to what style component or template area to look at. By the way I relaxed the guest restriction.


The picture of the car in post #11 gets squished with the Mocha Style.
 
You have this in your CSS on that style:

Code:
.message-body img {
    max-width: 100% !important;
    max-height: 350px !important;
}

it needs to be removed and if the style author has it in there, mention it to them as well.
 
Top Bottom