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 trialThierry Fontaine
986 PointsDoesn't look the same once uploaded
Hi everyone! :) I just finished the "Build a simple website" lessons, but once i upload the site, the layout doesn't look the same anymore...
What I did is upload it to a subdomain as I have Wordpress installed on the main domain. I don't know if this interfere.
Thanks you in advance for your help.
7 Answers
James Barnett
39,199 PointsThierry - It's hard to say without seeing the site.
If I had to guess, I'd say it sounds like a permissions issue.
The specifics of how to change permissions depends on your exact setup. However here are some instructions on how to change permissions using the Filezilla FTP client
Make sure grid.css
& normalize.css
have their permissions set to 644
.
Giann Wilkerson
6,897 PointsHi Thierry!,
Im not sure exactly what does not look the same, although i know what can usually cause something like this to happen is if your paths are not correct. This means you may have relative paths linking to files built locally. (I.E linking to a file on the C: drive or to the desktop.) Once you upload your files they should all be relative still, although they need to link to link to other files in your folder instead of where they may have been created locally. This happens often in CSS files and in your HTMLl when linking to CSS files.
Also, Please make sure you have uploaded all of your files to the correct directory.
If you can provide some more information we can offer a better solution :)
Hope this helps!
Thierry Fontaine
986 PointsThank you both for your answers!
The permission was set to 600, I set it to 644 and it works just fine! Thanks a lot! Permission for normalize.css is set to 600, should I keep it the same or also change it ?
Giann Wilkerson
6,897 PointsI would say set it to 644 as well just in case you would like to make some edits to it. Based on James's post, and what you have written above. Because its a subdomain, your are not automatically given full permission to read and write all files uploaded:)
You are very welcome!
James Barnett
39,199 PointsThierry - As a general rule of thumb all HTML/CSS/JavaScript files as well as image files should be set to 644
when you upload them.
I updated my original advice to include normalize.css
for future searchers who find this thread.
Thierry Fontaine
986 PointsThanks a lot guys ! ;)
It's fun to learn with treehouse!
Inti Tidball
3,758 PointsThanks -- this is really useful info.