polynikes300 Posted August 17, 2013 Share Posted August 17, 2013 Hi I changed the background color with the global css but somehow the home page remains unchanged while the product pages are ok? I'm using default template version 1.5.4.0 I'm a real beginner when it comes to working with code changes, so if anyone can shed some light on my possible errors or reasons for the unchanged home page, I'd appreciate it. Thanks Poly Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted August 17, 2013 Share Posted August 17, 2013 (edited) try hard refresh ctrl+f5 or clear browser cache... if beginner see this its in global.css line 53 body { font: ; color: ; background:; u can do this way background:# hex color; example black :background:#000; or image background:url(img/bg.png) no-repeat transparent; or image plus color background:url(img/bg.png) no-repeat #000; Edited August 17, 2013 by Jiten rash (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 17, 2013 Share Posted August 17, 2013 make sure that you haven't got CCC on (for css files). and of course if it is possible - please share the url, it will be really helpful in this case (we will be able to check your website and code that you use there) Link to comment Share on other sites More sharing options...
polynikes300 Posted August 18, 2013 Author Share Posted August 18, 2013 Hi Thank you vekia & jiten rash I have not changed anything since i posted this topic and yesterday when I checked the site the home page color has changed - after 3 days. I am guessing that the issue was a problem at the server side? but I have no idea if that is correct? vekia - I checked the cache CCC is enabled at this time so I did not change it now. Can you explain to me why this would make a difference in this case? I don't understand the cache. Thanks Poly Link to comment Share on other sites More sharing options...
vekia Posted August 18, 2013 Share Posted August 18, 2013 CCC for css comparing all css styles to one (so you've got one minified css file), it mean, that if you change for example global.css - changes will not appear without recompilation because your store will use this one minified file. while you're workin on your template (design, template files etc.) you should disable CCC, cache and turn force compilation on. When you're done, put everything back. Link to comment Share on other sites More sharing options...
PascalVG Posted August 18, 2013 Share Posted August 18, 2013 Hi Poly, As you probably know, caching in general is used to 'speed up things'. In this case CCC 'combines, compresses and then caches' the resulting file to make your website faster. It references this file whenever it needs information from it. It doesn't have to search for the information in the different files, interprets them too much anymore, thus speeding up the site's response time. The cache file is once a while refreshed, depending on some settings. You can enforce refresh, but in this case, it seems it did it for you. To temporarily disable caching, you can change the settings in Advanced Parameters->Performance. Only use this when testing new changes. Caching should be enabled in live sites as much as possible to make your site much speedier, pleasing your customers. I'll mark the topic as solved :-) My 2 cents, pascal Link to comment Share on other sites More sharing options...
polynikes300 Posted August 18, 2013 Author Share Posted August 18, 2013 Thanks to vekia & pascalVG for the time to explain the CCC function. Disabling it has cured an image not shown issue so 2 birds with 1 stone! Thanks again Poly Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now