| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Background colour | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() hi
i make a change of colour to the background and save it, but the colour does not change can you please help. html,body { height: 100%; background-color: #ffffff; margin: 0px; padding: 0px; font-family: verdana, arial, helvetica, sans-serif; font-size: 11px; min-width: 780px; border: 0px none; |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Yes, it is placed in the line 9 of your skin1/main.css
Code:
I replaced it with Code:
Try to empty your browser cache if you mean that you can't edit files in admin try this patch http://forum.x-cart.com/showthread.php?t=46155
__________________
Regards, Victor Dubiniuk X-Cart Skins Store ![]() - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
#3
|
|||||||
|
|||||||
![]() I still cant get it to work!
I have changed the colour#cccccc; But it does still not show. I have ctrl f5 in explorer but still the same. My colour line is 12 and not 9 Any ideas ? /* $Id: main.css,v 1.130 2008/12/11 09:14:58 max Exp $ vim: set ts=2 sw=2 sts=2 et: */ /* general tags styles html,body { height: 100%; background-color: #oooooo; margin: 0px; padding: 0px; font-family: verdana, arial, helvetica, sans-serif; font-size: 11px; min-width: 780px; border: 0px none; |
|||||||
#4
|
|||||||||
|
|||||||||
![]() the tag may be re-defined later in the .css file
__________________
xcart 5.1.2 |
|||||||||
#5
|
|||||||
|
|||||||
![]() i m using 4.2 and this is how it worked for me, altho the bg color i changed to was ugly and i changed it back later. if you want to change the look just changing the bg color isnt enough, u got to create a whole new theme to look consistent, anyways.
this is how i changed bg: locate skin1/main.css copy paste main.css in text edit command+F(in mac) to locate code"#ffffff" then replace all "#ffffff" with the color you want(because the css was too long and i wasnt entirely sure which #ffffff is in charge of the main bg so i just changed them all, a dumb method i'd say, but works) paste the new main.css in skin1/main.css and save reset safari or other browsers clean up the old data load your site again and the bg should be changed(most likely to be ugly tho cause changing only one thing in a while design usually look weird) MUST BACK UP YOUR MAIN.CSS BEFORE YOU EDIT IT, IN CASE YOU HATE THE NEW COLOR SO YOU CAN CHANGE IT BACK.
__________________
x-cart 4.2.0 |
|||||||
#6
|
|||||||||
|
|||||||||
![]() The main background is either controlled by the html or body tag. Most people change the body tag.
If you have a site that stretches the entire width the screen you will need to change something else. Can't think of it for 4.2 right off the top of my head.
__________________
xcart 5.1.2 |
|||||||||
#7
|
|||||||
|
|||||||
![]() X-Cart v4.2 uses page-container and content-container DIVs for layout but they don't have any background colour by default. valks1 it would be easier if you would post a link to your website so we can examine the page code and the CSS file. By default, main.css would control your colours and layout and the mentioned line controls your background colour.
__________________
www.qualitylamps.eu X-Cart Gold 4.1.8, PHP 5.2.6, MySQL 5.0.51a, Apache 2.2.9 www.vervangjelamp.nl X-Cart Gold 4.2.0, PHP 5.2.6, MySQL 5.0.37-standard, Apache/2 Sorry for the weird user name, I registered it by mistake ![]() |
|||||||
#8
|
|||||||
|
|||||||
![]() My website is www.networkingsuperstore.co.uk
|
|||||||
#9
|
|||||||
|
|||||||
![]() Hi valks1, I have looked at your site, in the source code I can see that you're using the following stylesheet:
Code:
Within this stylesheet the following statement is made: Code:
This means that your background is set to white... Change the color code (#FFFFFF) and your background should change. Note that changing this code will most likely change your entire background, if you want the center table to remain white or a different color look up: Code:
In your stylesheet (/skin1/skin1_c.css) and add: Code:
You can of course change red to any colour you want..
__________________
www.qualitylamps.eu X-Cart Gold 4.1.8, PHP 5.2.6, MySQL 5.0.51a, Apache 2.2.9 www.vervangjelamp.nl X-Cart Gold 4.2.0, PHP 5.2.6, MySQL 5.0.37-standard, Apache/2 Sorry for the weird user name, I registered it by mistake ![]() |
|||||||
|
|||
X-Cart forums © 2001-2020
|