AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: stephanie on June 08, 2020, 07:58:23 AM

Title: Technical Question: Abantecart shop page does not show changes made in style.css
Post by: stephanie on June 08, 2020, 07:58:23 AM
Hi all,
I have a technical question, not sure where to post this. Please let me know if this is better posted elsewhere.

I installed AbanteCart Cart manually by uploading the files with FTP software FileZilla, and accessed the style.css file for the home page with the FTP software. I tried downloading the style.css file to my computer, but it would not work, so I right-click then opened the file and save as'ed onto my computer, edited it, then re-uploaded it. However, the changes do not show in the page. I know I am changing the right parts of the CSS because I did the same thin using the browser's developer tools and it worked.

Please help
Stephanie
Title: Re: Technical Question: Abantecart shop page does not show changes made in style.css
Post by: Basara on June 08, 2020, 08:43:23 AM
Hello.
You should clear the browser cache every time you edit CSS files.
Title: Re: Technical Question: Abantecart shop page does not show changes made in style.css
Post by: LizzieGim on June 09, 2020, 03:27:41 AM
If you're viewing your site with Safari on a Mac, I've found you can hard refresh the page with ALT + CMD + R to see the CSS changes, rather than clearing the cache.
Title: Re: Technical Question: Abantecart shop page does not show changes made in style.css
Post by: abantecart on June 12, 2020, 08:23:31 PM
To clarify, both operations are clearing the cache but in different places.

1. ALT + CMD + R  in the browser clears browser only cache and needed in case of CSS or JS changes.
2. There is a server side cache clear operation.  You need to clear cache there mostly if you edit database directly.