Problem on responsive mode

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri Jan 01, 2016 8:24 pm
Reply with quote
Report this post
Hello support,

In Creativity, I have a problem on responsive mode.
Pictures of modules stay big and are not resized. I am using a custom module on #gkBottom1-1 an I put this code on top of it to get picture on top :

<p><img src="images/Expo1.jpg" alt="My text" style="width: 1116px; height: auto;" /></p>

Thank you in advance for your answer.
User avatar
Senior Boarder

teitbite
Sat Jan 02, 2016 12:43 pm
Reply with quote
Report this post
Could you please provide me with a URL to your website, either here or via PM (click the “Private Message” text underneath my avatar) so that I may analyze it? It is a lot easier for us to diagnose issues when we have a live site to examine.
User avatar
Moderator

GK User
Mon Jan 11, 2016 4:13 pm
Reply with quote
Report this post
Hello, thank you for your answer,

It have been solved by putting this code :
<img src="/images/Projet2-1" alt="Picture" style="max-width: 100%; height: auto;">

But I feel strange to have to put code when we put a picture on an article...
User avatar
Senior Boarder

teitbite
Thu Jan 14, 2016 11:21 am
Reply with quote
Report this post
Hi

Yes, and it is not recommended to make it like that. Unfortunately without seeing it I can only advice a similar solution just more SEO friendly.

Code: Select all
<img src="/images/Projet2-1" alt="Picture" class="full-cover" />


and than use this in css:

Code: Select all
.full-cover {
    max-width: 100%;
    height: auto;"
}
User avatar
Moderator


cron