X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   body background (https://forum.x-cart.com/showthread.php?t=68841)

mworsnop 03-12-2014 09:42 AM

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;
}

tony_sologubov 03-12-2014 11:56 AM

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.

mworsnop 03-12-2014 12:30 PM

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.

tony_sologubov 03-12-2014 01:10 PM

Re: body background
 
Can you please send me the real CSS code you are using via pm?

mworsnop 03-12-2014 01:31 PM

Re: body background
 
see PM

mworsnop 03-18-2014 07:36 AM

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.


All times are GMT -8. The time now is 08:53 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.