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)
-   -   Background color (https://forum.x-cart.com/showthread.php?t=1111)

Kanyon71 01-05-2003 07:20 AM

Background color
 
I need to set a background color for a site using X-Cart the cart is set to like 75% width I set backgroud in the .css file and nothing happened. Anyone have any ideas how I can do this. You can look at the site at http://www.barconnections.com this is a live site. I need to change the white on the left and right side's of the cart and menu's.

Thanks,

Kanyon71

syddos 01-05-2003 11:55 AM

Add the BGCOLOR=#WHATEVER to the customer/home.tpl. Locate the <TD> for the left and right hand side of your page, or add a CSS CLASS STATEMENT (CLASS=SideTableBGColor) for example, and set the value of the BGCOLOR= in the CSS file to your colour choice.

SEE other examples in the CSS file.

Regards,

Kanyon71 01-06-2003 01:10 PM

Ok I tried both the BGCOLOR and the CSS way and no matter where I stuck the statement in the file is seemes to make no difference. I must be missing something simple here but for the life of me I cannot see it. Can someone post some code that shows me exactly where to stick this so it will do what's needed. lol I feel pretty dumb right now. Hate things I cannot get right the first time around.

Thanks,

Kanyon

shan 01-06-2003 01:25 PM

if you do a view source on your page you see this ..

Code:

<html>
<head>
<title>The Down Under Shop For Aussie Beer Gear - Bar Connections
 - Home
</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="description" content="The Down Under Shop For Aussie Beer Gear, where you can get everything but the beer!">
<meta name="keywords" content="australia, australian, bar, bar swag, victoria bitter, bitters, vb, xxxx beer, fosters, bundaberg rum, bundy rum, guinness beer, guiness, johnnie walker, johnie walker, scotch, jack daniels, bourbon, jim beam, whisky, wild turkey, whiskey, crown lager, southern comfort, carlton united brewery, brew, brewery, brewer, bar accessories, t-shirts, bar mat, caps, key rings, spirit measures, wine knife, hip flask, kozzie coolers, clocks, beer">
<link rel="stylesheet" href="../skin1/skin1.css">
</head>
<body class="background">


look at the bottom there and you see that <body class="background">

thats the class in the css that you need to change

Kanyon71 01-06-2003 02:56 PM

I just changed the code to read:

Code:

<body BGCOLOR="#000000">

There is no difference, any ideas?


Thanks,

Kanyon

shan 01-06-2003 03:07 PM

you need to change the background class in the stylesheet rather then in the page itself

Kanyon71 01-06-2003 04:28 PM

Ok I did that also no change. This is driving me batty.

deb 01-06-2003 04:36 PM

You don't say which XCart version you are working with, someone changed the style sheet significantly in the newest one... (grrrr)

Anyway, check the top line of the style sheet for BODY as a param, and edit the background definition there in it.


All times are GMT -8. The time now is 03:12 PM.

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