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

Changing colours

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-23-2005, 06:40 PM
 
kirsten kirsten is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Sydney, Australia
Posts: 104
 

Default Changing colours

Can anyone please tell me where do I change the colours for the borders around the feautured products items,

Here is the page I mean

www.silverimports.com.au/shop
Thanx

Kirsten
__________________
Kirsten
X_Cart Gold Version 4.0.11
www.silverimports.com.au
www.diamondimports.com.au
Reply With Quote
  #2  
Old 02-23-2005, 09:55 PM
 
Jerrad Jerrad is offline
 

X-Adept
  
Join Date: Nov 2004
Location: The Netherlands
Posts: 484
 

Default

Hi Kirsten,
I think you can find that in skin1/skin.css...
Although I'm not sure which one changes the bordercolors.
__________________
X-Cart 4.0.12
Heavy modified with paid, free and forum mods.
PHP 5.2.5 | MYSQL 5.0.51a
Reply With Quote
  #3  
Old 02-23-2005, 11:26 PM
 
kirsten kirsten is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Sydney, Australia
Posts: 104
 

Default

Thanx Jerrad for the reply and I thought the same also and have yet to find anything that will work??? so thought it may be something like aplying a style to one of the templates ie the one I changed to get the borders to show in order to overide the default colours that came up? Any way hopefully someone else from this forum may know the answer and be able to help me

Kirsten
__________________
Kirsten
X_Cart Gold Version 4.0.11
www.silverimports.com.au
www.diamondimports.com.au
Reply With Quote
  #4  
Old 02-24-2005, 03:29 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

It all depends on what you did to get those borders to show up in the first place That is not the standard X-Cart display, so tell us what you did so we can tell you how to change the colors
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 02-24-2005, 04:41 AM
 
kirsten kirsten is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Sydney, Australia
Posts: 104
 

Default

Balinor,

I changed the following in the
customer/main/products_t.tpl


{* $Id: products_t.tpl,v 1.10.2.7 2004/12/23 09:11:59 max Exp $ *}
<TABLE border="0" width="100%" cellpadding="0" cellspacing="5"><TR><TD class="TableThumbnailBorder">

<TABLE border="2" width="100%" cellpadding="5" cellspacing="8">

Originally this tpl was as follows

<TABLE border="0" width="100%" cellpadding="0" cellspacing="0"><TR><TD class="TableThumbnailBorder">

<TABLE border="0" width="100%" cellpadding="5" cellspacing="1">

Hope you can help me

Thanx
Kirsten
__________________
Kirsten
X_Cart Gold Version 4.0.11
www.silverimports.com.au
www.diamondimports.com.au
Reply With Quote
  #6  
Old 02-24-2005, 04:46 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Ahhh...don't use the border function....it produces ugly borders and changing the color of them is not cross-browser compliant. Try using css instead. Replace this:

Code:
<TABLE border="2" width="100%" cellpadding="5" cellspacing="8">

with this:

Code:
<TABLE border="0" width="100%" cellpadding="5" cellspacing="8" style="border: 1px solid #FF0000;">

Change the hexidecimal color code to whatever you want. I set it as red so you could see the results easily.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 02-24-2005, 05:26 AM
 
kirsten kirsten is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Sydney, Australia
Posts: 104
 

Default

Well I tried changing that code as you said however it only changed the outer border not the actual ones surrounding the products in the featured products

Was I meant to be changing something in my skin1.css?

Kirsten
__________________
Kirsten
X_Cart Gold Version 4.0.11
www.silverimports.com.au
www.diamondimports.com.au
Reply With Quote
  #8  
Old 02-24-2005, 05:31 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

You also need to add that style part of the code to the <td> tag, as that is what surrounds the actual product.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #9  
Old 02-24-2005, 05:57 AM
 
kirsten kirsten is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Sydney, Australia
Posts: 104
 

Default

Okay I have tried different ways to get the color added to this TD

<TD align="center" valign="top" width="{$width}%" class="DialogBox">

but just not sure how to do it, because when I get the colour to change the boxes all change shape and go out of alignment?

How should I code this correctly?

Thanx
Kirsten
__________________
Kirsten
X_Cart Gold Version 4.0.11
www.silverimports.com.au
www.diamondimports.com.au
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 07:46 PM.

   

 
X-Cart forums © 2001-2020