Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Changing the background

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-05-2009, 08:03 AM
  FTI's Avatar 
FTI FTI is offline
 

Senior Member
  
Join Date: Oct 2009
Location: Plovdiv, Bulgaria
Posts: 153
 

Default Changing the background

OK, I've spent a decent amount of time trying to change the background of my website (the whole background behind the site), but no success. Where to change the code in main.css. Please help, I'm confused...

Here it is...
__________________
Version 4.2.3
X-Cart Gold

Version 4.3.1
X-Cart Gold
Reply With Quote
  #2  
Old 11-05-2009, 07:31 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Changing the background

main.css look for this

html, body {
background-color:

and change it to whatever you want the color to be
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 11-06-2009, 03:10 AM
  FTI's Avatar 
FTI FTI is offline
 

Senior Member
  
Join Date: Oct 2009
Location: Plovdiv, Bulgaria
Posts: 153
 

Default Re: Changing the background

Thank you for the quick answer, but what if I want to put a pattern image, that should be repeated -x -y. Also when I change this color, also the color behind the products in focus changes also. I don't want that, please help me out, I'm confused...
__________________
Version 4.2.3
X-Cart Gold

Version 4.3.1
X-Cart Gold
Reply With Quote
  #4  
Old 11-06-2009, 05:20 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Changing the background

Just change it from backgorund-color to
background: #color url;

For the other background that changes also you need to find which class is used and change the background from transparent to color you want.

This is a good place to learn - www.w3schools.com
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
bibi (10-24-2010)
  #5  
Old 11-07-2009, 05:23 AM
  FTI's Avatar 
FTI FTI is offline
 

Senior Member
  
Join Date: Oct 2009
Location: Plovdiv, Bulgaria
Posts: 153
 

Default Re: Changing the background

Thank you, it was helpful.
__________________
Version 4.2.3
X-Cart Gold

Version 4.3.1
X-Cart Gold
Reply With Quote
  #6  
Old 11-07-2009, 03:12 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Changing the background

What do you mean the products in focus? Could you post a URL to the site so I could take a look?

Im guessing you want the background to have an image, but the main section of the store to have a solid color.

Ash
__________________
xcart 5.1.2
Reply With Quote
  #7  
Old 11-08-2009, 10:33 AM
  FTI's Avatar 
FTI FTI is offline
 

Senior Member
  
Join Date: Oct 2009
Location: Plovdiv, Bulgaria
Posts: 153
 

Default Re: Changing the background

Thanks Ashley, that's exactly what I want. I've pointed to my URL above in the topic.
__________________
Version 4.2.3
X-Cart Gold

Version 4.3.1
X-Cart Gold
Reply With Quote
  #8  
Old 11-08-2009, 10:38 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Changing the background

body controls the background of the whole site.

.page-container controls the main section of the site.

Ash
__________________
xcart 5.1.2
Reply With Quote
  #9  
Old 11-09-2009, 04:21 AM
  FTI's Avatar 
FTI FTI is offline
 

Senior Member
  
Join Date: Oct 2009
Location: Plovdiv, Bulgaria
Posts: 153
 

Default Re: Changing the background

Thanks Ash, I hope I'll fix it now.
__________________
Version 4.2.3
X-Cart Gold

Version 4.3.1
X-Cart Gold
Reply With Quote
  #10  
Old 12-31-2009, 04:46 PM
 
okedokie okedokie is offline
 

Newbie
  
Join Date: Dec 2009
Posts: 5
 

Default Re: Changing the background

i didnt find this code in my main.css
Quote:
HTML,BODY {
HEIGHT: 100%;
MARGIN: 0px;
PADDING: 0px;
BACKGROUND-COLOR: #fffff;

but i found it in skin1_printable.css

i`ve tried to chage the color to black
Quote:
BACKGROUND-COLOR: #fffff;

to
Quote:
BACKGROUND-COLOR: #000

but it`s still the same, something wrong with my method ? or should i edit this in my main.css?
__________________
x-cart gold 4.3.0
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020