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 trialKairos F
19,925 PointsChanges 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
Kairos F
19,925 PointsI got it working finally, by creating a new fork. Not sure what the issue was about though.
anil rahman
7,786 PointsWorks 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
7,786 PointsIt could be your css file not linked correctly to your html page.
Kairos F
19,925 PointsIt 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
7,786 PointsCould you give a snapshot of your workspace so i could have a try.
Kairos F
19,925 Pointsanil rahman
7,786 PointsYeah 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.
Kairos F
19,925 Pointssuper thanks.