Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-27 02:45:19

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

My CSS won't update

It’s weird and I don’t know why it’s happening, but my CSS will not update. Whether I use the FF extension, or I do it within TXP, I’ve set the background to black for example, and it’s still white. I can’t figure out what it is. THe nav links aren’t changing colour either and it’s all gone a bit weird.

Site is here

Any ideas?

Thanks in advance

Offline

#2 2006-02-27 06:21:43

Jeff_K
Archived Plugin Author
From: Vancouver, British Columbia
Registered: 2005-08-19
Posts: 202
Website

Re: My CSS won't update

Always work with Cache turned off. Also, just found this bookmarklet:

javascript:void(function(){var i,a,s;a=document.getElementsByTagName('link');for(i=0;i<a.length;i++){s=a[i];if(s.rel.toLowerCase().indexOf('stylesheet')>=0&&s.href) {var h=s.href.replace(/(&|%5C?)forceReload=\d+/,'');s.href=h+(h.indexOf('?')>=0?'&':'?')+'forceReload='+(new Date().valueOf())}}})();

Which auto-reloads CSS on the page currently beinng viewed. Just add the script as a bookmark and click your way to refreshed CSS.

Offline

#3 2006-02-27 19:00:06

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: My CSS won't update

thanks for that, but I’m still not getting any update from the CSS in textpattern or FF. I made a few more changes, even deleted everything but it still displayed everything as it was before.

Could there be something wrong with the CSS side of TXP that is stoppping me from changing the css?

EDIT: Turned out I duplicated the CSS twice. My bad

Last edited by sekhu (2006-02-27 19:05:21)

Offline

Board footer

Powered by FluxBB