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

HTML How to Make a Website Styling Web Pages and Navigation Style the Portfolio

Changes in Workspace are not taking effect in preview. Even after saving.

My title pretty much explains the issue I'm having. The changes I'm making in the css are not taking effect when I hit the preview button. I tested this by cutting all the css out of the css. file and saving and hitting preview and nothing changed. Advise? Thanks.

6 Answers

I got it working finally, by creating a new fork. Not sure what the issue was about though.

anil rahman
anil rahman
7,786 Points

Works for me now: i commented out the body block! then i previewed and uncommented and then it started working then i changed some positioning of your nav stuff using these.

nav ul {
  padding-left: 0; 
}
body {
  font-family: 'Open Sans', sans-serif;
  background-color: white;
  margin-top: -19px;
  padding: 0;
}
anil rahman
anil rahman
7,786 Points

It could be your css file not linked correctly to your html page.

It is linked correctly. It was working until recently. The changes until now are correct in the preview. But no changes I make to the css file are having any effect on the preview from today.

anil rahman
anil rahman
7,786 Points

Could you give a snapshot of your workspace so i could have a try.

anil rahman
anil rahman
7,786 Points

Yeah it was something weird going on there. Also that code i gave you above fixes some of the nav option centering and also the top header gap.

super thanks.