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)
-   -   Referencing Images (https://forum.x-cart.com/showthread.php?t=66021)

jschnyderite 02-04-2013 08:40 AM

Referencing Images
 
I am using ideal comfort template and am having trouble referencing images. I uploaded a logo and a background to the skin/images/custom folder.

1). I changed my idealcomfort/customer/head.tpl to reference "{$AltImagesDir}/custom/usslogo.png" and no image shows.



2). I also added this code to my idealcomfort/css/altskin.css

body{
background:url(../images/custom/water-bg.jpg) no-repeat;
}


If i change it instead to just a color, it displays that...but my image won't work. Other images referenced in that same css document reference that same folder so I think the path is correct. Is there a certain way to upload or reference images in x-cart?

vmwerks 02-18-2013 06:44 AM

Re: Referencing Images
 
I placed my background image code into the main.css. It shows, but only on the far left hand side. I am also using the same template as you...


All times are GMT -8. The time now is 05:16 AM.

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