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

CSS CSS Basics (2014) Understanding Values and Units Percentages

css is not saving

I am adding the width %, and saving, but when I refresh the website, it is not taking the information that I put on the CSS file. I am checking the web page by "Inspecting" and it is not showing up that I even put it on there, but it is on the CSS file, and is put in correctly. I have had this problem before multiple times, I am having to add spaces or enter a few times and saving, for it to take my changes.

3 Answers

It could be a caching issue. Try a cache refresh

Brittany Froese
Brittany Froese
1,807 Points

I'm having the same issue. I've cleared the cache and cookies. If I wipe out all of the CSS and refresh, it definitely updates to plain HTML. But the adjustments for width and later, paragraph text size, does not update. My code for anyone thinking it's due to error:

.primary-content, .secondary-content {

width: 60%;

}

have you tried closing and reopening the web page? that would some times help