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

Referencing Images

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-04-2013, 08:40 AM
 
jschnyderite jschnyderite is offline
 

Newbie
  
Join Date: Jan 2013
Posts: 1
 

Default 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?
__________________
4.5.4
Reply With Quote
  #2  
Old 02-18-2013, 06:44 AM
 
vmwerks vmwerks is offline
 

Newbie
  
Join Date: May 2007
Posts: 2
 

Default 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...
__________________
4.1.7
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 01:03 AM.

   

 
X-Cart forums © 2001-2020