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
  #11  
Old 03-31-2017, 12:36 AM
  maplerockgw's Avatar 
maplerockgw maplerockgw is offline
 

Newbie
  
Join Date: Jan 2016
Posts: 8
 

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

My site is also showing the uploaded image only in the top half. Does anybody know how to fix this?
__________________
x cart 5

maplerockpedalboards.ca
Reply With Quote
  #12  
Old 03-31-2017, 05:39 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

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

What is the site URL? Can we look at it?
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #13  
Old 03-31-2017, 06:58 AM
  maplerockgw's Avatar 
maplerockgw maplerockgw is offline
 

Newbie
  
Join Date: Jan 2016
Posts: 8
 

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

Web site URL is www.maplerockguitar.ca

just to expand on this, my background image seems to load in the browser window of any device. but the default image from the nobless theme take over when scrolling down.
__________________
x cart 5

maplerockpedalboards.ca
Reply With Quote
  #14  
Old 04-02-2017, 10:32 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

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

At the moment the CSS rule that adds the custom background is this one:
Code:
body { background-image: url(/var/theme/images/tweed.jpeg) !important; }

Change it to:
Code:
html, body { background-image: url(/var/theme/images/tweed.jpeg); }

Also, you should tweak the image itself (at the moment it doesn't tile perfectly) and move it out of the "var" directory (XC5 may drop this directory and recreate it when rebuilding the site).
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote

The following user thanks qualiteam for this useful post:
maplerockgw (04-03-2017)
  #15  
Old 08-29-2022, 12:12 AM
  Blainevk's Avatar 
Blainevk Blainevk is offline
 

Senior Member
  
Join Date: Dec 2004
Location: Atlanta, GA
Posts: 162
 

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

Hello Qualiteam,

I tried:

html, body {
background-image: url(/var/theme/images/tweed.jpeg);
}

Using my own code:

html, body {
background-image: url(http://blainestravelclub.com/images/passport_stamp_background.png);
background-repeat: repeat;
background-attachment: fixed;
}

It works immediately when I'm in </> Custom CSS mode, but when I save it, close(X) </> Custom CSS mode, it goes away.

I tried rebuilding the store and that doesn't help.

Any ideas?
__________________
Blaine

X-Cart Multi-vendor 5.4.1.35
PHP version: 8.1

Blaine's Travel Club - http://blainestravelclub.com

Collect Travel Points - http://blainestravelclub.com/travelpoints/rewards/

Travel Points Gift Mall - https://blainestravelclub.com/travelpoints/giftmall/

Grow Your Business - http://blainestravelclub.com/business/

Making Money & Fun - http://blainestravelclub.com/travelers/

Charitable Fun-razing - http://blainestravelclub.com/fun-razors
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:06 PM.

   

 
X-Cart forums © 2001-2020