Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Changing colors in template

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-23-2011, 03:39 PM
 
Bowery Bowery is offline
 

Member
  
Join Date: Oct 2008
Posts: 27
 

Exclamation Changing colors in template

I had a web developer create a custom template (I think he just modified the original 3-column template) for the store on my site: www.thebowery.com/cart.

We are having one small problem and I was wondering if anyone could help; when you go to the checkout page: http://thebowery.com/cart/cart.php?mode=checkout (you might have to add something to your cart for the link to work), there are white boxes for the shipping and payment info, but the font color is so similar to the background color of the boxes. Could someone tell me how to either make the box have a transparent background or change the font color to black so it is visible with a white background?

Also, if anyone knows how to fix the problem with some of the order summary info being cut off on the right side please help with that also.

Thanks so much!
__________________
X-Cart v4.4.2
Reply With Quote
  #2  
Old 05-24-2011, 10:19 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Changing colors in template

Do a search in your main.css and look for ECF3F7 which is the color of the "boxes" around the items not displaying.
Some specific things are

.checkout-payments tr.payment-details td {
background: none repeat scroll 0% 0% #ECF3F7;

div.address-book-link {
background: none repeat scroll 0% 0% #ECF3F7;

Which seem to be the boxes around the checkout data. I suggest changing the background color and not the text color as you have a dark color background on the rest of your site.

The part being "cut-off" is probably because your .checkout-container isn't set wide enough to contain all of the data.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #3  
Old 05-24-2011, 02:05 PM
 
Bowery Bowery is offline
 

Member
  
Join Date: Oct 2008
Posts: 27
 

Default Re: Changing colors in template

Thanks for the help! I found more than one main.css files. Could you help me find the one that you are talking about? And could you tell me what to replace ECF3F7 with for a "transparent" box color?

Quote:
Originally Posted by JWait
Do a search in your main.css and look for ECF3F7 which is the color of the "boxes" around the items not displaying.
Some specific things are

.checkout-payments tr.payment-details td {
background: none repeat scroll 0% 0% #ECF3F7;

div.address-book-link {
background: none repeat scroll 0% 0% #ECF3F7;

Which seem to be the boxes around the checkout data. I suggest changing the background color and not the text color as you have a dark color background on the rest of your site.

The part being "cut-off" is probably because your .checkout-container isn't set wide enough to contain all of the data.
__________________
X-Cart v4.4.2
Reply With Quote
  #4  
Old 05-24-2011, 04:44 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Changing colors in template

Look in skin/common_files/modules/One_Page_Checkout for the first one.
The default ".checkout-payments tr.payment-details td" is
is
.checkout-payments tr.payment-details td {
background: #ecf3f7;
margin: 0;
padding: 10px;
}
and div.address-book-link is
div.address-book-link {
height: 35px;
background: #ecf3f7;
width: 100%;
vertical-align: middle;
position: relative;
}
I don't know where the "none repeat scroll 0% 0%" part came from or what it does that has been added to yours.

To make the background transparent change background to
background: transparent; or background: transparent none;

Try each one to see if either works for you.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #5  
Old 05-24-2011, 05:00 PM
 
Bowery Bowery is offline
 

Member
  
Join Date: Oct 2008
Posts: 27
 

Default Re: Changing colors in template

I followed your instructions and tried both and neither worked. It still has the same background.

Quote:
Originally Posted by JWait
Look in skin/common_files/modules/One_Page_Checkout for the first one.
The default ".checkout-payments tr.payment-details td" is
is
.checkout-payments tr.payment-details td {
background: #ecf3f7;
margin: 0;
padding: 10px;
}
and div.address-book-link is
div.address-book-link {
height: 35px;
background: #ecf3f7;
width: 100%;
vertical-align: middle;
position: relative;
}
I don't know where the "none repeat scroll 0% 0%" part came from or what it does that has been added to yours.

To make the background transparent change background to
background: transparent; or background: transparent none;

Try each one to see if either works for you.
__________________
X-Cart v4.4.2
Reply With Quote
  #6  
Old 05-26-2011, 07:30 PM
 
Bowery Bowery is offline
 

Member
  
Join Date: Oct 2008
Posts: 27
 

Default Re: Changing colors in template

Any other suggestions?
__________________
X-Cart v4.4.2
Reply With Quote
  #7  
Old 05-26-2011, 08:01 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Changing colors in template

You can use Firefox+Firebug to look directly at the css settings. You can make changes on the fly and debug to see what works, then make the changes directly to the appropriate css files:

/cart/skin/common_files/modules/One_Page_Checkout/main.css

fieldset.registerform ul {
background: transparent;
margin: 0;
padding: 0 15px;
position: relative;
}


div.opc-section-container {
background: transparent;
margin: 0;
padding: 10px 0;
}
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote

The following user thanks gb2world for this useful post:
Bowery (05-27-2011)
  #8  
Old 05-27-2011, 03:24 PM
 
Bowery Bowery is offline
 

Member
  
Join Date: Oct 2008
Posts: 27
 

Default Re: Changing colors in template

THANKS! I figured it out! any advice on fixing the "cut-off" column?
__________________
X-Cart v4.4.2
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:00 AM.

   

 
X-Cart forums © 2001-2020