Results 1 to 5 of 5
Feb 16, 2013, 13:24 #1
- Join Date
- Dec 2011
- Northern Ireland
- 0 Post(s)
- 0 Thread(s)
Theme Development: Incorporating responsiveness in post images???
OK so recently Ive run into something that has raised a question...
Normally if i'm developing a responsive website, to make imagery responsive and scaleable, i do it like this:
I set the images inside a div which has a class, that class has its width (percentage) and height... then images inside that class are set to width: 100%; .. that forces the image to scale the smaller the "image container" gets...
But recently ive been building a wordpress theme, and ive noticed that wordpress doesnt wrap images in any kind of a container div or class or anything, so how would i go about building responsiveness for post and page images into the theme? everything else about the theme is totally responsive at the min but when the user ads images, they arent responsive because of this problem.
Has anyone else run into this issue and how did you overcome it?