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

How to change the background of my website.

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 02-28-2014, 02:22 AM
 
zhandaan zhandaan is offline
 

Member
  
Join Date: Feb 2014
Posts: 14
 

Default How to change the background of my website.

i am currently using the theme provided by x-cart, but i wish to change the background to my own background. Do i need to create a css to overwrite it or any other method.

i am New to x-cart and php coding.
__________________
x cart 5
Reply With Quote
  #2  
Old 02-28-2014, 10:14 AM
  Petepots's Avatar 
Petepots Petepots is offline
 

eXpert
  
Join Date: Aug 2007
Location: Surrey, UK
Posts: 275
 

Default Re: How to change the background of my website.

I dont know about v5 but in skin\common_files\css
you can see background-color: near the top. I am using 4.6.2 so as I said I dont know if its the same

Also if you use firefox you can get an addin called firebug thats a great help

Peter
__________________
Version 4.7.2
Reply With Quote
  #3  
Old 03-02-2014, 06:08 AM
  RichieRich's Avatar 
RichieRich RichieRich is offline
 

X-Adept
  
Join Date: Sep 2004
Location: London, England
Posts: 750
 

Default Re: How to change the background of my website.

In version 5, choose settings > look and feel > custom css.

Enter your background css for example;

Quote:
body {
background: #CCC;
}

Make sure the use custom css box is checked, and it will override the css in your store.
__________________
Richard


Ultimate 5.4 testing
Reply With Quote

The following 4 users thank RichieRich for this useful post:
qualiteam (03-04-2014), tony_sologubov (03-06-2014), totaltec (03-19-2014), zhandaan (03-06-2014)
  #4  
Old 03-06-2014, 11:41 PM
 
zhandaan zhandaan is offline
 

Member
  
Join Date: Feb 2014
Posts: 14
 

Default Re: How to change the background of my website.

Quote:
Originally Posted by RichieRich
In version 5, choose settings > look and feel > custom css.

Enter your background css for example;



Make sure the use custom css box is checked, and it will override the css in your store.

Thanks Richie for the help, How if i want to put a photo as background, i have to use the same way? or i need to get the image url?
__________________
x cart 5
Reply With Quote
  #5  
Old 03-10-2014, 11:48 AM
  RichieRich's Avatar 
RichieRich RichieRich is offline
 

X-Adept
  
Join Date: Sep 2004
Location: London, England
Posts: 750
 

Default Re: How to change the background of my website.

Quote:
body
{
background-image:url('/images/background.jpg');
}

Ensure the url is pointing the the path of the image you have uploaded.
__________________
Richard


Ultimate 5.4 testing
Reply With Quote

The following user thanks RichieRich for this useful post:
qualiteam (03-11-2014)
  #6  
Old 03-12-2014, 01:47 PM
 
mworsnop mworsnop is offline
 

Senior Member
  
Join Date: Mar 2014
Posts: 140
 

Default Re: How to change the background of my website.

body
{

background-image:url('/images/body-bg.jpg');
}

I used the above and it doesnt work. Putting in a color does. Rich did you get it working?
__________________
Mark Worsnop

vers 5.3.3
Reply With Quote
  #7  
Old 03-19-2014, 04:31 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: How to change the background of my website.

Hi Mark!

I just tested the CSS code you sent me via PM and it works properly to me. Could you please post the snapshot of the entire Custom CSS section?

Thank you.
Reply With Quote
  #8  
Old 03-19-2014, 08:20 AM
 
mworsnop mworsnop is offline
 

Senior Member
  
Join Date: Mar 2014
Posts: 140
 

Default Re: How to change the background of my website.

There was something very strange going on. I had the hosting company restart the apache server process and now it works. I guess it was a cache or something. That really doesnt make sense to me, but its working and thats all that matters. Thank you!
__________________
Mark Worsnop

vers 5.3.3
Reply With Quote

The following user thanks mworsnop for this useful post:
tony_sologubov (03-20-2014)
  #9  
Old 05-06-2016, 06:31 AM
 
heinz57beans heinz57beans is offline
 

Newbie
  
Join Date: May 2016
Posts: 2
 

Default Re: How to change the background of my website.

ritchierich can you tell me when why i put an image has background it only seems to cover top half of page has you scroll further down theres another image im using nobellese skin is this skin made up of 2 background images
__________________
xcart 5
Reply With Quote
  #10  
Old 05-13-2016, 05:28 AM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default Re: How to change the background of my website.

Quote:
Originally Posted by heinz57beans
ritchierich can you tell me when why i put an image has background it only seems to cover top half of page has you scroll further down theres another image im using nobellese skin is this skin made up of 2 background images
It seems like you have sorted out, didn't you?
Could you please share the solution with us?
Thank you.
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may 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 08:28 PM.

   

 
X-Cart forums © 2001-2020