Making images responsive

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 Feb 18, 2014 11:33 am
Reply with quote
Report this post
How to make my inserted images in a text responsive? I've tried it with the next code but nothing happens.

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


Could you help?

preview on http://wkr.pimrozendaal.nl
Joomla: 2.5.18
Latest template version: Gavern v.3.10.1
Screenshot:
notresponsive.png
User avatar
Senior Boarder

GK User
Tue Feb 18, 2014 12:44 pm
Reply with quote
Report this post
Please edit: /templates/gk_creativity/css/override.css and add at its end:
Code: Select all
img {width: 100% !important; height: auto !important}

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator


cron