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
Brandon Brigham
3,716 PointsNeed help with responsiveness of web page
Hello guys and gals!
So I'm trying to figure out why when I resize my browser that all my elements aren't responding to my search media queries.
The page is: http://045.978.myftpupload.com/membership/
You will notice that I have CSS code for various screen sizes but when moving the browser size smaller and larger the elements don't activate as they should.
Thanks for your help!
1 Answer
Steven Parker
243,656 PointsWhen using complicated frameworks, customization must be done the "framework way".
I'm not very familiar with Wordpress, but in observing your site with the Dev Tools, I notice that there appears to be some dynamically injected inline CSS which overrides anything that might be in a stylesheet. If you just added some things to a stylesheet, that's clearly not the "Wordpress way" of customizing the responsive behavior.
I would suggest you consult the Wordpress documentation to see how (or even if) they have provided a way to influence the responsive behavior of the page.
Hopefully it won't come to this, but if you have needs that are not provided for by the framework, you might need to dig deeper into the JavaScript components and alter them also, or perhaps abandon Wordpress altogether and "roll your own".