Preview of Custom CSS does not work
-
I’m using the theme TwentyTen on WordPress.com, and am considering upgrading to get custom CSS. But when I try to add some changes and preview it, I only see the old version.
I tried these:
h2 {
border-bottom: 1px solid black;
}blockquote{
border: 1px solid #777;
}I tried several other things too, but it seems as if my css isn’t included at all. I’m using the option to add this to the theme’s css. I also tried choosing “start from scratch” and pasted the entire theme’s css, and when I preview, it looks like there is no css at all.
Why isn’t it reading my preview css? I guess this would be the same if I bought the upgrade…
The blog I need help with is: (visible only to logged in users)
-
It isn’t that it isn’t reading the CSS, but from some testing I’ve been doing, the latest versions of browsers are not updating files and are actually pulling from their caches.
Hit the preview button and then go to the preview page. After it loads, force refresh the page and the changes should be there as long as there isn’t something wrong with the CSS you entered (syntax, etc.).
-
Cool, thanks it worked! In firefox i pressed SHIFT and the refresh-button, and suddenly my CSS is shown. But my next question is then of course, will my visitors get my new css? I mean if they once have visited and cached the CSS?
Cache is good, but it’s better if it’s working and noticing changes :)
Thanks a lot for your quick reply!
-
Your visitors won’t see the changes until you actually purchase the upgrade but then it should be fairly immediate. If I edit the CSS on my site and save the changes then re-visiting the page using Firefox displays the new CSS rules. The preview feature does tend to be a bit sleepy though.
- The topic ‘Preview of Custom CSS does not work’ is closed to new replies.