XF 1.5 Image width for Responsive and normal

SoarerUnion

Member
Hi,

I have added the following code to the EXTRA.css script.

.message .messageContent .messageText img {
max-width: 800px;
max-height: 600px;
}

While this works well on desktop PC's, on anything using the responsive style, the images are cut in half and not scaled.

Is there anything I can add to this so it will only apply to non responsive views?

Thanks in advance

-Tim
 

Sunka

Well-known member
maybe to change to %

Code:
.message .messageContent .messageText img {
max-width: 80%;
max-height: 80%;
}
 

SoarerUnion

Member
thanks for the reply.

I had tried the percentage method, it worked better on mobiles than the px method.

I'll keep persevering :)
 
Top