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)
-   -   Which template must i edit to place a background image in .. (https://forum.x-cart.com/showthread.php?t=18277)

ferdia 11-28-2005 11:41 PM

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. :wink:

pauldodman 11-29-2005 12:18 AM

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.

ferdia 11-29-2005 01:27 AM

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.

pauldodman 11-29-2005 01:33 AM

You probably need to look at the body tag in the skin1.css file, (the 2nd body tag)


All times are GMT -8. The time now is 12:40 PM.

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