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
  #11  
Old 01-02-2010, 10:06 AM
 
enrique_somoza enrique_somoza is offline
 

Newbie
  
Join Date: Dec 2009
Posts: 3
 

Default Re: Changing the background

I have the same problem, i tried to change the main.css

html, body {
background-color: blue;

but, it did not change anything...
__________________
X-Cart Gold v4.3.0
Reply With Quote
  #12  
Old 01-04-2010, 03:02 PM
 
fearnothing fearnothing is offline
 

Senior Member
  
Join Date: Jun 2005
Location: North East England
Posts: 124
 

Default Re: Changing the background

We're currently slowly and painfully reconstructing our store in 4.23. Now in the final stages and looking at the CSS.

I had the same problem with html,body in main.css - it doesn't reflect any changes on the screen background. The background URL does work in that tag, we have used:

html,body {
height: 100%;
background-color: #ffffff;
background: url(images/bg.gif) repeat;

and that does work, so I guess a workaround would be to create a small GIF in the colour of your choice.

The main body of the text however seems to be set to transparent, so we added the background color to this tag:

#page-container {
min-height: 100%;
position: relative;
background-color: #ffffff;

There must be an easier way to influence the display, but we need a guru to point the way. Anyone ??
__________________
www.smartchoicemusic.com
Smart Choice Music - Import CD and DVD Specialists
4.6.0
MySQL 5.5.34
PHP 5.4.24
Apache/2.2.26
Multiple homegrown and paid-for mods
Reply With Quote
  #13  
Old 01-11-2010, 05:22 AM
 
okedokie okedokie is offline
 

Newbie
  
Join Date: Dec 2009
Posts: 5
 

Default Re: Changing the background

no one can solve this?
__________________
x-cart gold 4.3.0
Reply With Quote
  #14  
Old 01-11-2010, 05:47 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

That is the easiest way. You have to change the CSS.
It's still the same. Find the body and html tags that are controlling the site and change teh background tag accordingly.
__________________
xcart 5.1.2
Reply With Quote
  #15  
Old 01-11-2010, 07:33 AM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Re: Changing the background

What template are you people using that you say have issues?
Like ash says shouldn't be an issue:

Is they a way you troubled people can post url or pm to us to look at

Have mine set like this: Based on light and lucid (Have custom style though and have it centred to 960px)
html,body {
height: 100%;
background:#F2F5F7;
margin: 0px;
padding: 0px;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 11px;
min-width: 780px;
}

/* page layout */
#content-container {
clear: both;
float: left;
overflow: hidden;
position: relative;
width: 960px;
padding-bottom: 39px;
margin-top: 140px;
background-color: #ffffff;
border-left: 1px solid #E8E8E8; border-right: 1px solid #E8E8E8;
}

Silly question I know, but have saved after edits?
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
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 10:40 PM.

   

 
X-Cart forums © 2001-2020