News:

Join the Facebook Fan Page.

Main Menu

Post Resize

Started by silber112, December 20, 2017, 11:02:58 AM

Previous topic - Next topic

silber112

Hello  :D

I have a little issue with the display of content in the post area. I have tried the default theme and a custom responsive theme but the issue remains..

When someone posts a image thats to big for the display it should resize, but instead it doesnt and you have to scroll to the sidess.. Happends a lot for users that use mobile phones..

How it looks in my forum: https://i.imgur.com/3fB8JW2.jpg
How it should look: https://i.imgur.com/iMYKOMz.jpg

Can I add some code somewhere to resize the content in the post area depending on the device?

Thanks  :D

Gwenwyfar

You can add this to your index.css:


.post_wrapper img {
max-width: 100%;
}



Edit: Changed class to include signatures.
"It is impossible to communicate with one that does not wish to communicate"

silber112

Quote from: Gwenwyfar on December 20, 2017, 11:12:42 AM
You can add this to your index.css:


.post_wrapper img {
max-width: 100%;
}



Edit: Changed class to include signatures.


Works great!  ;D

Do you know how to avoid that same issue in the log in form?
I attach a picture :)
Thanks

Gwenwyfar

:)

You should direct that problem to the author of your theme.
"It is impossible to communicate with one that does not wish to communicate"

skb

This won't work for video attachment ?

SMF 2.1.4 / TP 2.2.2

silber112

Quote from: Gwenwyfar on December 20, 2017, 02:02:19 PM
:)

You should direct that problem to the author of your theme.

It Happens with The curve theme Too :(

Gwenwyfar

Quote from: skb on December 20, 2017, 03:12:02 PM
This won't work for video attachment ?
?

Quote from: silber112 on December 20, 2017, 05:52:48 PM
It Happens with The curve theme Too :(
With the Responsive Curve mod?
"It is impossible to communicate with one that does not wish to communicate"

silber112


Advertisement: