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)
-   -   Main background image (https://forum.x-cart.com/showthread.php?t=42944)

Paul H 10-13-2008 03:04 PM

Main background image
 
Trying to put a main background image in my store (fresh install 4.1.11).

I placed the image in skin1/images

added last line in the skin1 css file

BODY,DIV,TH,TD,P,INPUT,SELECT,TEXTAREA,TT {
FONT-FAMILY: Verdana, Arial, Helvetica, Sans-serif;
COLOR: #2c3e49;
FONT-SIZE: 11px;
background-image:url(images/backgroundflag.jpg); background-position: top center;

The image shows up but it's broken and seems to be applying itself to all the boxes.

I guess it's just not that simple

anyone point me off in the right direction ?

Thanks

balinor 10-13-2008 03:27 PM

Re: Main background image
 
You can't apply it to ALL the tags, just the body tag. Do this:

body {background-image:url(images/backgroundflag.jpg); background-position: top center;}

Paul H 10-13-2008 03:46 PM

Re: Main background image
 
You the man !

Works a treat now

Thanks

Paul


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

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