Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - CleanMart (SKU# FLEX-00015)

TOPIC: Update to new version

Update to new version 10 years 6 months ago #6758

I want to update to new version of the template,because i need the new products detail version but i want an ask. I modify some properties in css color rules in the template...

If i updated the new version...how can i keep my css rules in the next version of the template?

Thanks
The administrator has disabled public write access.

Update to new version 10 years 6 months ago #6774

Hi,

That's a tough question. Unfortunately you can't.
There is only 1 main CSS file that comes with CleanMart, which is flexibleVM2Global.css

Normally i would say, SAVE your current flexibleVM2Global.css, apply the new version CleanMArt and then overwrite your previous flexibleVM2Global.css. But this update includes lots of CSS changes, especially the 2nd product details page includes lots of CSS rules. If you overwrite the new one with your previous one. then you would lose the new CSS rules. I am afraid you have no option but apply the new template and do your previous CSS changes again on that new CSS file.

BUT NEXT TIME, don't change anything in the FlexibleVM2Global.css but use CSS overriding.
If you want to change ANY css rule in the flexibleVM2Global.css file, then simply copy paste that rule. Lets say, you want to make changes in that CSS rule:
.productTitle {
   font-size:14px;
}

Then, don't simply change the value, copy that CSS rule completely, and paste it to this CSS file (to the bottom):
/templates/YOUR_TEMPLATE/css/template.css (or any other CSS file in that folder)
and make it like that:
.productTitle {
   font-size:13px !important;
}


This new CSS rule in the /templates/YOUR_TEMPLATE/css/template.css will override the CSS rule in the FlexibleVM2Global.css, and the productTitle class name will start having font-size:13px. Understand the idea?

If you follow this method, it might be time consuming at first, but you will never have any problem with updating in the future. You can safely update the CleanMart without thinking twice.

Regards.
Support & Development
Last Edit: 10 years 6 months ago by Support.
The administrator has disabled public write access.
Time to create page: 0.070 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo