Post by Caradiaz » Fri Mar 06, 2015 1:34 am

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.

Newbie

Posts

Joined
Wed Jan 16, 2013 11:33 pm

Post by gedielson » Fri Mar 06, 2015 12:17 pm

It's a trivial matter, but, try to hit Ctrl + F5 tree times after making changes to style to reload the browser avoiding cache.

http://gepeixoto.com.br


User avatar
New member

Posts

Joined
Wed Oct 01, 2014 7:37 am
Location - Brazil

Post by Caradiaz » Fri Mar 06, 2015 9:52 pm

Thank you for your reply, gedielson. I had already tried clearing the cache and reloading but to no avail, I'm afraid.

Thanks anyway for responding.
:-)

Newbie

Posts

Joined
Wed Jan 16, 2013 11:33 pm

Post by viethemes » Fri Mar 06, 2015 10:10 pm

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


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by Dhaupin » Sat Mar 07, 2015 4:49 am

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.

https://creadev.org | support@creadev.org - Opencart Extensions, Integrations, & Development. Made in the USA.


User avatar
Active Member

Posts

Joined
Tue May 13, 2014 3:45 am
Location - PA

Post by Caradiaz » Tue Mar 10, 2015 10:50 pm

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?
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.
Thank you, viethemes and Dhaupin, very much for your comments. I'll follow our pointers and see what happens!

Thanks again,
Caradiaz

Newbie

Posts

Joined
Wed Jan 16, 2013 11:33 pm

Post by kashmir kkit » Tue Jan 24, 2017 5:53 pm

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.

New member

Posts

Joined
Wed Nov 23, 2016 1:48 pm
Who is online

Users browsing this forum: No registered users and 11 guests