| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Background color | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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 |
|||||||
#2
|
|||||||
|
|||||||
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,
__________________
Syddos Nothing is impossible, We just don't know how to do it ........Yet! Xcart 4.1.X PRO (Testing Platform: winXP Pro) Perl 5.8.7 (win32) WINAMP 1.6.3 (win32 server package. Includes the following) - phpMyAdmin v2.8.03 - MySql 5.0.21 - Apache 2.0.55 (win32) - php 5.1.4 - SQLitemanager 1.2.0 |
|||||||
#3
|
|||||||
|
|||||||
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 |
|||||||
#4
|
|||||||||
|
|||||||||
if you do a view source on your page you see this ..
Code:
look at the bottom there and you see that <body class="background"> thats the class in the css that you need to change
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#5
|
|||||||
|
|||||||
I just changed the code to read:
Code:
There is no difference, any ideas? Thanks, Kanyon |
|||||||
#6
|
|||||||||
|
|||||||||
you need to change the background class in the stylesheet rather then in the page itself
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#7
|
|||||||
|
|||||||
Ok I did that also no change. This is driving me batty.
|
|||||||
#8
|
|||||||
|
|||||||
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. |
|||||||
|
|||
X-Cart forums © 2001-2020
|