Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have edited the style.css of my theme but no changes are reflecting. There is no caching plugin at all.

Even when I delete the style.css nothing happens. Could this be the server caching, it's on hostgator?

Thanks.

share|improve this question
    
Clear your browser cache! –  Eugene Manuilov Jan 31 '13 at 8:28
    
Did that already ctrl + F5 quite a few times –  Morne Zeelie Jan 31 '13 at 8:48
    
If I view source, my extra css is not in the style.css –  Morne Zeelie Jan 31 '13 at 8:49
    
Check headers with firebug. If 304 - not modified then this is caching. –  Simon Jan 31 '13 at 10:48
    
Thanks Simon for the header tip. Not caching though :) –  Morne Zeelie Jan 31 '13 at 11:12

3 Answers 3

When it happens to me it usually turns out that I'm editing the wrong file. Are you sure the active theme is the one you are editing? You should go to your admin and check. If you really deleted the right CSS file your theme should become inactive and listed as a broken theme

share|improve this answer
    
Yes I'm 100% sure :) I'm also changing the template files and that works. –  Morne Zeelie Jan 31 '13 at 9:01
    
Yes true it should remove styles from the theme when deleted. I uploaded the file once, it worked and showed the styles. but after a refresh again the styles vanished again. Then I went and overwrite the file and still no changes. Will have a look later if it's not my fault :) it was very late. –  Morne Zeelie Jan 31 '13 at 9:06

Did you check the top of your css ? Edit to suit your custom theme.

/*   
Theme Name: Theme name
Theme URI: http://www.yourdomain.com
Description: jQuery 1.7.1 / jQuery Mobile 1.2.
Author: Meias Safa
Author URI: http://www.yourdomain.com
Version: 1.0
*/

Put this at the top of your style.css!

Then deactivate and reactivate your theme, that usually works.

share|improve this answer
    
Thanks will check and test. –  Morne Zeelie Jan 31 '13 at 10:07

Yes it could be. I use HostGator too but there's no server caching on my account. You can chat with them online on their site, they've got great support.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.