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

Adding a texture gif to store background

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-14-2002, 10:52 AM
 
sky sky is offline
 

Member
  
Join Date: Oct 2002
Posts: 27
 

Default 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.
Reply With Quote
  #2  
Old 11-14-2002, 11:18 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

you could probably set the background of the table in rectangle_top.tpl to your bground image
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 11-28-2002, 10:44 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

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
__________________
ex x-cart guru
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 08:05 PM.

   

 
X-Cart forums © 2001-2020