Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 ASP (Windows server) versions
 CSS editing not working...
Author « Topic »  

DavidX
Ecommerce Template Expert

925 Posts

Pre-sales questions only
(More Details...)

Posted - 11/29/2023 :  21:12:32  
I'm trying to change every instance of a specific color on our site to a different one. I used the Web Developer extension to test it out and it worked great but, when I went to edit the actual style.css it wasn't changing anything. What am I missing?

Marshall
Ecommerce Template Guru

USA
1889 Posts

Posted - 11/30/2023 :  04:43:40  
Are you refreshing your browser as the old style sheet might be cached. Also, you should not make changes to the ectcart.css sheet. Instead, create a second style sheet, say "custom.css" and put your changes there then have it below the ectcart.css like this
<link rel="stylesheet" href="css/ectcart.css">
<link rel="stylesheet" href="css/custom.css">
If you make your changes in the ectcart.css style sheet, they will be overwritten with updates.


Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

dbdave
ECT Moderator

USA
10347 Posts

Posted - 11/30/2023 :  08:09:30  
Today's browsers really "hard cache" those css and js files and are very stubborn to load new versions.
If you are inclined to fix that madness, there is a trick here and would be a one time edit and fixed.

https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=114969

David

Vince
Administrator

42596 Posts

Posted - 11/30/2023 :  09:37:03  
Could I also just mention that for one-off testing, do a <Ctrl>+F5 to force a refresh of the style sheets. But for the general public for updates, follow the advice in David's link.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

dbdave
ECT Moderator

USA
10347 Posts

Posted - 11/30/2023 :  10:57:52  
quote:
Could I also just mention that for one-off testing, do a <Ctrl>+F5 to force a refresh of the style sheets.

Shoot, I've hit that dang ctrl>F5 10 times and could not get the new css to load in some cases.
What I've done in those situations is view source, then click the meta link to the style sheet, then hard refresh that, then close and go back to the page to refresh and finally see the new changes.
It seems like browsers have gotten more stubborn recently than in years past.
That's why I call it cache "madness" lol.

I only wish the cash in my wallet was that stubborn about staying put.

David

Edited by - dbdave on 11/30/2023 10:58:28
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000