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

body background

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 03-12-2014, 09:42 AM
 
mworsnop mworsnop is offline
 

Senior Member
  
Join Date: Mar 2014
Posts: 140
 

Default body background

If I add the first to the custom.css it does not work, but the 2nd one does. Both work on a standard html web page.

body
{
background-image: url("http://www.mysite.com/Site/graphics/body-bg.jpg");
}


body
{
background-color: #ffff00;
}
__________________
Mark Worsnop

vers 5.3.3
Reply With Quote
  #2  
Old 03-12-2014, 11:56 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

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

Default Re: body background

Quote:
Originally Posted by mworsnop
If I add the first to the custom.css it does not work, but the 2nd one does. Both work on a standard html web page.

body
{
background-image: url("http://www.mysite.com/Site/graphics/body-bg.jpg");
}


body
{
background-color: #ffff00;
}

The http://www.mysite.com/Site/graphics/body-bg.jpg image does not exist and it causes the problem.
Reply With Quote
  #3  
Old 03-12-2014, 12:30 PM
 
mworsnop mworsnop is offline
 

Senior Member
  
Join Date: Mar 2014
Posts: 140
 

Default Re: body background

mysite is a dummy

the real site is on my profile on the helpdesk

didnt think it was right to put it on here.
__________________
Mark Worsnop

vers 5.3.3
Reply With Quote
  #4  
Old 03-12-2014, 01:10 PM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

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

Default Re: body background

Can you please send me the real CSS code you are using via pm?
Reply With Quote
  #5  
Old 03-12-2014, 01:31 PM
 
mworsnop mworsnop is offline
 

Senior Member
  
Join Date: Mar 2014
Posts: 140
 

Default Re: body background

see PM
__________________
Mark Worsnop

vers 5.3.3
Reply With Quote
  #6  
Old 03-18-2014, 07:36 AM
 
mworsnop mworsnop is offline
 

Senior Member
  
Join Date: Mar 2014
Posts: 140
 

Default Re: body background

Did anyone manage to make this work? If I use background-color it works fine. Also I created a plain html page and put the same css code at the top and it works there too. I copied it verbatim into the custom.css and then rebuilt the cache.
__________________
Mark Worsnop

vers 5.3.3
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 02:34 AM.

   

 
X-Cart forums © 2001-2020