![]() |
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 |
Hi Kirsten,
I think you can find that in skin1/skin.css... Although I'm not sure which one changes the bordercolors. |
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 |
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 :)
|
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 |
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. |
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 |
You also need to add that style part of the code to the <td> tag, as that is what surrounds the actual product.
|
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 |
All times are GMT -8. The time now is 03:12 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.