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
Forum Search
Google Site Search
 All Forums
 Technical
 ASP (Windows server) versions
 Protect CSS Design Changes from Updater Overwrites
Author « Topic »  

1234
Ecommerce Template Expert

USA
996 Posts

Posted - 09/28/2025 :  18:58:04  
I've been increasingly busy over the past few years and as a result I've not had the time to keep up with the latest updaters. I want to get back up-to-speed as soon as possible because there appears to be some great new features that I've been missing out on.

My issue is that over the past few years I've made a multitude of cosmetic changes to my website design by tweaking several of my css files. By making these CSS changes, I now have my website looking exactly how I want it. I know that if I apply the latest updater, it will overwrite most or likely all of the changes that I've made throughout the past few years.

Is there any way that I can keep the changes that I've made to my css files when I apply the latest updater, or do I need to apply the updater and make all of these changes again (I'm sure I won't remember them all). I've made design changes to just about every CSS file on my site (ectcart, ectstyle, ectstyle1, ectstylebase, ectstyledetails, ectstypleprod1, style.css).

dbdave
ECT Moderator

USA
10563 Posts

Posted - 09/28/2025 :  20:03:09  
Hi, a few things...
Never alter the ect css files - No need to.
In your pages, each css file is called in the order you have them in your code.
Your style.css file should be listed last and any changes you want to make to styling, you copy from the ect css file and paste it into your style.css file and make the changes.
Then, when you update, your changes remain intact.

If you want to see the changes you have made to the ect css files, just use a file compare program.
I use the free winmerge program and it's super easy to use.

Just open the original css file from the update (you can download old updaters if you don't have an original copy (the zip file). and your current version you use on the site and you will see all the changes you made, and copy them over to the style.css file.

I do have back end mods on my site, but I document them in a word doc I maintain, and I comment all of my code so it's easy to spot my changes.
When I update, I open the new vsadmin folder and my working vsadmin folders in winmerge and it gives you a list of any files that are different. You open them one by one and copy over the new changes, leaving my "commented" changes so they continue to work.

If you take a bit of time to get this in order, updates will be easy in the future, even if you have make changes to the ect code.

Comment code this way
HTML comment with this <!-- at the beginning and the following after -->
Comment .php and javascript with two forward slashes // preceding the comment
Comment .asp code with an apostrophe (single quote) before the line '
CSS comments begin with /* and end with */

Thanks,
David

1234
Ecommerce Template Expert

USA
996 Posts

Posted - 09/29/2025 :  04:58:08  
Hi Dave,

Thank you for the information. I was going through the css changes that I had previously made to my files and it turns out there aren't as many as I thought. So it sounds like I can just copy the edited lines from my other css files, and paste them in my style.css file, and then I'll be good to overwrite the other css files without affecting all of the changes?
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0 seconds. Snitz Forums 2000