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 trialJeremy Frimond
14,470 PointsMedia Queries on Local Host Server
Hi,
When I edit my project on a local host, via mamp, the media queries do not register; however, when I access the files just from my desktop (and not from a localhost server) the media queries activate. Any idea why this happens?
Regards
4 Answers
banned banned
Courses Plus Student 11,243 PointsYou can check if you have linked the css file correctly to your HTML file.
John Kanaly
1,765 PointsWhat was the problem if you don't mind me asking. All my queries and style work when I look at them just locally off of my computer. However when I look at it once it is hosted, some of my queries are accepted and others do not work. Same exact files for the locally hosted stuff and hosted stuff.
Jeremy Frimond
14,470 PointsNever mind all sorted
John Kanaly
1,765 PointsWhat was the problem if you don't mind me asking. All my queries and style work when I look at them just locally off of my computer. However when I look at it once it is hosted, some of my queries are accepted and others do not work. Same exact files for the locally hosted stuff and hosted stuff.
Jeremy Frimond
14,470 PointsJeremy Frimond
14,470 Pointsthe whole site has been styled I am going in now to put some finishing touches on the breakpoints which work fine when not accessing the site page via a local host