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)
-   -   want to insert image but dont know where (https://forum.x-cart.com/showthread.php?t=31856)

sakeena 06-15-2007 06:42 AM

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?

balinor 06-15-2007 07:09 AM

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?

sakeena 06-15-2007 07:50 AM

Re: want to insert image but dont know where
 
hi
yes this is what i mean
thanks

balinor 06-15-2007 08:49 AM

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.

sakeena 06-15-2007 12:33 PM

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

balinor 06-15-2007 12:50 PM

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.

jcorneli 09-09-2007 02:54 PM

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

balinor 10-04-2007 06:36 AM

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.

puppetmaster 10-04-2007 06:41 AM

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.

sakeena 11-07-2007 08:19 AM

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

sakeena 11-09-2007 06:34 AM

Re: want to insert image but dont know where
 
can anyone explain how to stop the background image from tiling through the main area?

balinor 11-09-2007 06:36 AM

Re: want to insert image but dont know where
 
background-repeat: no-repeat;

That just keeps the image to one image though, you can't get it to appear on the left and the right of your content area unless you create one huge image.

carpeperdiem 11-09-2007 07:24 AM

Re: want to insert image but dont know where
 
Quote:

Originally Posted by sakeena
can anyone explain how to stop the background image from tiling through the main area?


Set the container for the main area to white or whatever background color you want...

my site looks like this:
Quote:

/*
Content enviroment styles
*/
TABLE.Container { width: 960px; margin-left: auto; margin-right: auto; background-color: #FFFFFF; }
TD.Container { height: 95%; vertical-align: top; }
/*


All times are GMT -8. The time now is 02:46 AM.

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