Images resize in articles when in mobile mode

Joomla template for easily build sports magazine website with advanced content display features and clean, unique design.
GK User
Sat Sep 15, 2012 1:36 pm
I don't know why but when in mobile mode i click on the article and the image outside the article is displayed correctly but the images inside articles resizes out of aspect ratio.

My website is:
http://www.setelagoas.com.br

Can someone helps me? :(
User avatar
Fresh Boarder

teitbite
Sun Sep 16, 2012 9:47 am
Hi

Can You please tell me the url of a page when I can see it ? What layout for mobile view are you using ?
User avatar
Moderator

GK User
Mon Sep 24, 2012 5:31 pm
teitbite wrote:Hi

Can You please tell me the url of a page when I can see it ? What layout for mobile view are you using ?

Every article has the error

as you can see here:
http://www.setelagoas.com.br/noticias/p ... anha-limpa

Thanks !
User avatar
Fresh Boarder

teitbite
Tue Sep 25, 2012 7:33 am
Hi

This issue can be caused by easy caption plugin, but please add this code to proper mobile device css and check if it reacts on that:

Code: Select all
.article-content img {
    max-width: 100%;
    width: 100%;
}
User avatar
Moderator

GK User
Tue Sep 25, 2012 8:03 pm
problem solved using:


Code: Select all
.easy_img_caption {
   width: 100%;
   margin: 2px;
   float: left;
   overflow: auto;
}


Thanks for your help :D
User avatar
Fresh Boarder

teitbite
Wed Sep 26, 2012 12:17 am
Hi

Solution looks ok, but what do You need overflow:auto for ? If I'm not mistaken in some cases of big images it can render a scrollbar inside image.
User avatar
Moderator


cron