X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   css background image (https://forum.x-cart.com/showthread.php?t=65573)

DavyMac 12-05-2012 06:25 AM

css background image
 
Ok. After years of familiarity with X-Cart 4.1.x I now find myself learning from scratch with 4.5.4
All I want to do is set a body background image so I amended common_files/css/main.css:
HTML Code:


body
{
  height: 100%;
  background-color: #fff;
  background: url(images/bg.jpg);
  background-repeat: repeat-y;
  background-position: center top;
  margin: 0;
  padding: 0;
  min-width: 780px;
  border: 0 none;
}



The thing is it isnâ–“t being displayed and yes I am clearing the browser's cache.

Is the body style being set elsewhere?
Also, where is the style sheet being included? In 4.1.12 it used to be within skin1.config

cflsystems 12-05-2012 08:20 AM

Re: css background image
 
Depend on the skin you are using - look for the CSS in skin/your_skin/css.

totaltec 12-05-2012 07:58 PM

Re: css background image
 
Can you provide a link?

DavyMac 12-07-2012 02:49 AM

Re: css background image
 
Important note to self: Turn off speed up tools during development!

Once I had turned off the speed up tools I was able to see in Firefox that I had the wrong image path - thanks guys for your replies!


All times are GMT -8. The time now is 10:22 AM.

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