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
 General
 Suggestions - NOT QUESTIONS
 Use CSS Variables to define colors in ectcart.css
Author « Topic »  

ITZAP
Ecommerce Template Guru

Australia
1022 Posts

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

Posted - 12/26/2021 :  21:04:35  
I suggest that consideration be given toward using [url="https://www.w3schools.com/css/css3_variables.asp"][blue]the CSS var() Function[/blue][/url] to define variables for colors used in ectcart.css, particularly for buttons like so:

[size=3][font=Courier New]:root {
--addtocart-btn: #009966;
--checkout-btn: #f26522;
--submit-btn: #009966;
--cancel-btn: #b00000;
--askquestion-btn: #1779ba;
}[/font=Courier New][/size=3]

That would give Ecommerce Templates Users a simple way to edit the color scheme however desired.

Gary
[img]https://itzap.com.au/pics/logo/itzap-website-design-works-mini-logo.png[/img]
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000