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)
-   -   Background help (https://forum.x-cart.com/showthread.php?t=72482)

mdemuysere 07-23-2015 07:24 PM

Background help
 
Have searched and done some stuff people suggested to the css file in layout.

I want to use the full template for the Noblesse template, but replace the background with something different, Trying to help my site setup a site for some small sale stuff and having trouble with this part.

Nothing I do in css seems to even impact the site, even with the box checked. Does anyone have a CSS for the noble template w/ the background edited?

totaltec 07-23-2015 08:38 PM

Re: Background help
 
Can you provide a link for us to view your site and study the CSS?

razortw 07-25-2015 10:54 AM

Re: Background help
 
Quote:

Originally Posted by mdemuysere
Have searched and done some stuff people suggested to the css file in layout.

I want to use the full template for the Noblesse template, but replace the background with something different, Trying to help my site setup a site for some small sale stuff and having trouble with this part.

Nothing I do in css seems to even impact the site, even with the box checked. Does anyone have a CSS for the noble template w/ the background edited?


You should create a CSS rule for the 'body' selector and insert it to the 'Custom CSS' section.
Something like this:
Code:

body {
  background: #ff0;
}

Don't forget to clear the aggregation cache of your store if you have CSS aggregation enabled.
Or, you can simply replace the image that is populated to fill the background:
Code:

skins/default/en/modules/XC/ColorSchemes/Noblesse/images/store_bg.gif

mdemuysere 07-31-2015 02:41 PM

Re: Background help
 
I apologize I got tied up and was not able to respond, the aggrregation was the root cause, the css file now works properly, thanks!

razortw 08-05-2015 12:12 AM

Re: Background help
 
Quote:

Originally Posted by mdemuysere
I apologize I got tied up and was not able to respond, the aggrregation was the root cause, the css file now works properly, thanks!

It's okay.
Just wanted to say that you should clear the aggregation cache after every single change made in stylesheets, regardless of if the change is made in the "Custom CSS" section, or in the CSS files in the /skins folder.


All times are GMT -8. The time now is 04:06 PM.

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