How to responsive image in frontpage?

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
Tue Dec 03, 2013 4:48 am
Reply with quote
Report this post
I used modules custom HTML in front page position header. Everything look good but image not responsive How to fix it?

http://onyxpattaya.com/
User avatar
Senior Boarder

teitbite
Tue Dec 03, 2013 7:47 am
Reply with quote
Report this post
Hi

Please add this code to css:

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

GK User
Wed Dec 04, 2013 10:42 am
Reply with quote
Report this post
Add to template.css ?
User avatar
Senior Boarder

teitbite
Thu Dec 05, 2013 9:08 am
Reply with quote
Report this post
Hi

Bast place for any new css code is override.css, but remember to allow using override in template settings. This way it will be easy to keep all css change in case of template update.
User avatar
Moderator


cron