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 trialBryan Becker
8,849 Points[RESOLVED] centering .primary content and .main-header
Trying to center the class .main-header like he does in the video Text styles under CSS Basics. when I add .main-header with the .primary-content rule the header portion does not center. If I delete the .primary-header class it will center. Why is the .primary-content class interfering? I also opened the workspace for the video so none of the code has been previously interfered with.
Bryan Becker
8,849 PointsI ended up closing the browser and restarting and it worked. Thank you for responding Austin! Next time I will include the code though.
Austin Whipple
29,725 PointsOk, great! I've updated the title of your question to indicate resolution.
Steven Parker
231,269 PointsHey Austin,
How do you update the title of a question?
Austin Whipple
29,725 PointsHi Steve,
I can't recall if non-mods can edit titles to their own questions, but all edit features for any user are in the drop-down menu displayed when you click the "..." icon.
Steven Parker
231,269 PointsOh, I didn't see a "MOD" tag by your name. And sure, you can edit your own (but oddly, you cannot DELETE it).
2 Answers
Michael Bran
1,687 PointsFor some reason I had the same issue, and for some reason closing the tab in the browser and re-opening it worked as well, but refreshing the page didnt.
Richard Summer
1,506 PointsI also had the issue. As stated by Bryan and Michael, closing the preview workspace page and reopening it fixes the issue.
Austin Whipple
29,725 PointsAustin Whipple
29,725 PointsHi Bryan,
Could you copy/paste the code along with your question? That'll help us out while troubleshooting.