X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Adding a texture gif to store background (https://forum.x-cart.com/showthread.php?t=650)

sky 11-14-2002 10:52 AM

Adding a texture gif to store background
 
Hi,

I am using a custom build prior to 3.2. Haven't been brave enough to redo everything since I still don't have this one the way I want.

Anyway, my website now has a background gif (trying to spruce it up) and am wondering if/how I can edit templates to utilize this gif as the main background for my cart.

Thanks for the input.

shan 11-14-2002 11:18 AM

you could probably set the background of the table in rectangle_top.tpl to your bground image

funkydunk 11-28-2002 10:44 PM

This is possible.

There are a few things to change though:

Firstly:
Set the image as a background in the ski1.css syle sheet for background.

.background {
background-image: url(images/background.gif)
}

Then you need to change the part in dialog.tpl that contains:

Code:

<TR><TD class=DialogBorder><TABLE border=0 cellPadding=10 cellSpacing=0 width="100%">
<TR><TD bgColor=#FFFFFF>{$content}

</TD></TR>


to:
Code:

<TR><TD class=DialogBorder><TABLE border=0 cellPadding=10 cellSpacing=0 width="100%">
<TR><TD class="background">{$content}

</TD></TR>


Then you will need to take out the background colour settings in the skin1.css file until you get to the right effect. The bits to concern about are:

WhiteLine - this is the background to the search box
Table Top - This is the area above the dialog box


All times are GMT -8. The time now is 03:45 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.