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

want to insert image but dont know where

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-15-2007, 06:42 AM
 
sakeena sakeena is offline
 

Advanced Member
  
Join Date: Mar 2007
Posts: 44
 

Default want to insert image but dont know where

I want to put a background image in the will show on either sideof the main area looking in webmaster using the debuggin consule i dont see that area light up when i scroll through the template names

any ideas?
__________________
xcart 4.1.6 unix server
Reply With Quote
  #2  
Old 06-15-2007, 07:09 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: want to insert image but dont know where

By either side of the main area, do you mean the white space outside of your site?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 06-15-2007, 07:50 AM
 
sakeena sakeena is offline
 

Advanced Member
  
Join Date: Mar 2007
Posts: 44
 

Default Re: want to insert image but dont know where

hi
yes this is what i mean
thanks
__________________
xcart 4.1.6 unix server
Reply With Quote
  #4  
Old 06-15-2007, 08:49 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: want to insert image but dont know where

That is set by adding a background image to the BODY class in skin1.css. The format for the css is:

background: url(images/image.jpg);

You would need to upload the image to your skin1 directory.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 06-15-2007, 12:33 PM
 
sakeena sakeena is offline
 

Advanced Member
  
Join Date: Mar 2007
Posts: 44
 

Default Re: want to insert image but dont know where

ok so then should it be
background: url(skin1/images/image.jpg);
since it is in th eskin1 folder

i tried a bunch of ways im not sure i understand
here is my BODY line from css
HTML,BODY { margin: 0px 7px 0px 7px; background: #fff; }

can you show me exactly how it should be written out with the image in the skin1/images folder
__________________
xcart 4.1.6 unix server
Reply With Quote
  #6  
Old 06-15-2007, 12:50 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: want to insert image but dont know where

I did show you exactly...you don't need the skin1 because the css file you are adding to is already in teh skin1 folder. Type this exactly in your skin1.css file:

BODY {background: url(images/image.jpg);}

Replace image.jpg with the name of your file.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 09-09-2007, 02:54 PM
  jcorneli's Avatar 
jcorneli jcorneli is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 74
 

Default Re: want to insert image but dont know where

I attempted to follow the instructions and got a white background both inside and outside of my site.

HTML,BODY {
HEIGHT: 100%;
MARGIN: 0px;
PADDING: 0px;
Background-color: #FFFBD3;}

The last line was replaced with
background: url(images/camo.jpg);
Any idea what I am doing wrong.

Thanks
__________________
www.usapolicesupply.com
v4.6.3

Xcartmods reBoot Template
WebsiteCM CDSEO Pro SEO
BCS Multipe Upselling Links
Firetank Feed Manager

BCS Product Importer Updater Pro
BCS Drop Shipper Pro
BCS Quote Request Module
BCS Printable Online Catalog
Reply With Quote
  #8  
Old 10-04-2007, 06:36 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: want to insert image but dont know where

HTML doesn't accept a background image class, so you would need to break out the BODY to its own class.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #9  
Old 10-04-2007, 06:41 AM
 
puppetmaster puppetmaster is offline
 

Advanced Member
  
Join Date: Oct 2007
Posts: 95
 

Default Re: want to insert image but dont know where

Thanks balinor, I figured it out... I jumped the gun and asked the question to fast.
__________________
x-cart gold v4.1.8
Reply With Quote
  #10  
Old 11-07-2007, 08:19 AM
 
sakeena sakeena is offline
 

Advanced Member
  
Join Date: Mar 2007
Posts: 44
 

Default Re: want to insert image but dont know where

when i try this i get the image tiling through the products area, i just want it on the left and right of the page
__________________
xcart 4.1.6 unix server
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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:55 AM.

   

 
X-Cart forums © 2001-2020