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

PHP

Herbie Dodge
Herbie Dodge
15,985 Points

MAMP CSS not updating

Hey all, I recently watched the workshop on how to install a local server onto my computer; everything is working fine except for when I try to update the CSS on a project I've been working on for awhile, none of the changes are made. The original file I'm using was a .html file that I switched to a .php file, and any changes made to any HTML in the file do take affect, so I'm stumped; I looked everywhere on Google for a solution but haven't seen anything yet. If you guys have an suggestions on how to fix this, I would greatly appreciate it.

Herbie Dodge
Herbie Dodge
15,985 Points

Ironically I was testing out a new set of files that seemed to be working out fine when updating the HTML and CSS to make sure they were working properly; however it seems like all the changes i made have been cached into MAMP now. I can add new CSS to it and they take effect however no new HTML can be added nor can I delete any of the old HTML i had for testing purposes.

1 Answer

Hi Herbie,

Can you either fork the workspace (if it is one) or add your code via pastebin or something similar to make it easier to take a look at?

Herbie Dodge
Herbie Dodge
15,985 Points

I actually just figured out the problem: I had set a media query on my CSS (I haven't touched this project in months) and I forgot; it's my own fault for not evaluating my own code properly. Thanks for reaching out! I appreciate it!