Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Jeesun Kim
Jeesun Kim
4,866 Points

How to Build a WordPress Theme -> My blog posts aren't responsive

Everything else is responsive but my blog posts. Both my work and blog posts contain big pictures (1000 px wide) but the work posts are responsive while the blog posts are not.

Thank you in advance!

3 Answers

Adam Vandover
Adam Vandover
25,256 Points

It sounds like you may have some absolute width containers set in your styles sheets for your blog posts. You can inspect the blog elements in Chrome Inspector by right clicking the element and selecting 'inspect element.' Once there you can see the CSS that is applied on the right hand side. You can even edit the CSS there and see what will work. Most likely you'll have to convert those absolute widths to %.

Have you got a link to the page so i can see. it could be that you need to set the image with to 100% via media queries below a set screen resolution.

Jeesun Kim
Jeesun Kim
4,866 Points

Thank you to both Daniel Croft-Bednarski and Adam Vandover! I figured it out thanks to you guys.