Hello,
I'm upgrading my website to OC2.0 and when making changes to the stylesheet (under catalog/view/theme/default/stylesheet), the changes don't show on the website. Please note that I'm not creating a new template or theme but rather overwriting the existing stylesheet.css file (after saving the original version under a different name).
Any pointers would be most appreciated as I'm at the end of my tether with this! I've read lots and lots comments in various forums and websites but they seem to refer to problems incurred by creating new templates or themes.
One more thing in case it helps working out the problem, changing the permission to access the file or even the folder changes the look of the catalog site but it applies changes not been made by myself.
I hope someone can shed some light on what to me is a complete mystery!
Many thanks in advance.
I'm upgrading my website to OC2.0 and when making changes to the stylesheet (under catalog/view/theme/default/stylesheet), the changes don't show on the website. Please note that I'm not creating a new template or theme but rather overwriting the existing stylesheet.css file (after saving the original version under a different name).
Any pointers would be most appreciated as I'm at the end of my tether with this! I've read lots and lots comments in various forums and websites but they seem to refer to problems incurred by creating new templates or themes.
One more thing in case it helps working out the problem, changing the permission to access the file or even the folder changes the look of the catalog site but it applies changes not been made by myself.
I hope someone can shed some light on what to me is a complete mystery!
Many thanks in advance.
It's a trivial matter, but, try to hit Ctrl + F5 tree times after making changes to style to reload the browser avoiding cache.
Maybe your code has syntax error, so it does not affect the front-store. Could you provide your site url, so we can take a look at it closer?
http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension
Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme
Extra Positions PRO, Custom JavaScript, Custom CSS and others
View the source of the stylesheet and see if it changed there. If it didnt, confirm you are actually over-writing it. If it wont upload/save/change, then you prob locked yourself out of the permissions. Change it back to something you can edit (may require SSH if you did something like 644).
If you use a service such as CloudFlare then the store is cached externally. Things like CSS wont update until you either clear their cache or change/add the name of the stylesheet.
We made a mod to automatically break caches on local files when saved/updated. Its not ready for the market yet but you can hit me up if you need it desperately.
If you use a service such as CloudFlare then the store is cached externally. Things like CSS wont update until you either clear their cache or change/add the name of the stylesheet.
We made a mod to automatically break caches on local files when saved/updated. Its not ready for the market yet but you can hit me up if you need it desperately.
https://creadev.org | support@creadev.org - Opencart Extensions, Integrations, & Development. Made in the USA.
viethemes wrote:Maybe your code has syntax error, so it does not affect the front-store. Could you provide your site url, so we can take a look at it closer?
Thank you, viethemes and Dhaupin, very much for your comments. I'll follow our pointers and see what happens!Dhaupin wrote:View the source of the stylesheet and see if it changed there. If it didnt, confirm you are actually over-writing it. If it wont upload/save/change, then you prob locked yourself out of the permissions. Change it back to something you can edit (may require SSH if you did something like 644).
If you use a service such as CloudFlare then the store is cached externally. Things like CSS wont update until you either clear their cache or change/add the name of the stylesheet.
We made a mod to automatically break caches on local files when saved/updated. Its not ready for the market yet but you can hit me up if you need it desperately.
Thanks again,
Caradiaz
it could be due to your hostging , some hosting providers enable "VARNISH" on your domain which is known as caching HTTP rverse proxy that speeds up delivery. you can try to disable varnish on your cpanel and check.
Who is online
Users browsing this forum: No registered users and 4 guests