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

General Discussion

I'm making changes in CSS via FileZilla directly on live server, but changes don't appear

I migrated my web site from the local server to live one, but I need to make some adjustments in my style.css. I edited this file in FileZilla, and it fine and saved, but it doesn't work when I view my site. When I pull page code and view this style.css then I see there're no my adjustments. (also when I view this style.css in cPanel/File Manager/../style.css - I can see my adjustments. But they don't work at the web site somehow)

How do I do changes in my css so they work? On a live server

Or do I need to import-export the whole database? Is there a fast and easy way?

1 Answer

Try flushing your browser cache. That may fix it.

No, that doesn't work. I try Chrome, Safari, Opera. CSS code is old. I even deleted the whole style.css file and the web site still doesn't see it.

What type of server is it - Apache, nginx?

Are you using a CDN such as Cloudflare?

Oh I have no idea what all that you're asking lol) I'm using Wordpress, that's what I know))

You may have to check with your hosting provider to find out the server configuration. Perhaps even send them an email stating your issue and if they have any suggestions.

I was asking because your server may be caching some files. If so then updated files with the same name may not be sent to the browser. You could try changing the name of the CSS file slightly (don`t forget to update the stylesheet link in the HTML) then upload both files and refresh your browser to test this .

Wow I renamed the css file and it actually finally to appear with updates on the web site. Oh thanks a lot Sean! That's my first attempt to make a website and all these bugs just break my head!