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

Which template must i edit to place a background image in ..

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-28-2005, 11:41 PM
 
ferdia ferdia is offline
 

Newbie
  
Join Date: May 2004
Location: The Netherlands
Posts: 3
 

Default Which template must i edit to place a background image in ..

Hello everyone,

Does anyone know how do i can place a background image in my store.
I thought it might be possible using CSS like
.bg_image {
BACKGROUND-image: url(http://www.eye-graphics-services.nl/sico-shop/skin1/images/bg.gif);
BACKGROUND-repeat: repeat;
}

But where should i place this code? In which template?

Thanks.
__________________
The man than made time made plenty of it!

X-Cart Gold: 4.1.8
Server: Linux
System: Mac OSX
Reply With Quote
  #2  
Old 11-29-2005, 12:18 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default

Try, customer/home.tpl

Need to make sure any refs to images are like this:
{$ImagesDir}/myimage.jpg

Otherwise you get security errors in https.

Your other option is to put the style in your skin1.css and call it from your template.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #3  
Old 11-29-2005, 01:27 AM
 
ferdia ferdia is offline
 

Newbie
  
Join Date: May 2004
Location: The Netherlands
Posts: 3
 

Default

Thanks, that works just fine. You don't happen to know which template is responsable for the main area? I would like to change the colour of this area so de background image doe'nt show through.
__________________
The man than made time made plenty of it!

X-Cart Gold: 4.1.8
Server: Linux
System: Mac OSX
Reply With Quote
  #4  
Old 11-29-2005, 01:33 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default

You probably need to look at the body tag in the skin1.css file, (the 2nd body tag)
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
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:22 AM.

   

 
X-Cart forums © 2001-2020