| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
change background colour side margins | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
change background colour side margins
Hello
I am trying to change the background colour on v5,2,13 with the digital theme, i can change the background at the top and middle of the page but am left with 2 black margins either side of the product area, does anyone know what class or div etc is required to change these sections. help appreciated
__________________
X-cart 4.4.3 |
|||||||
#2
|
|||||||
|
|||||||
Re: change background colour side margins
Quote:
I find the "Inspect Element" "right-click" option in Chrome to be helpful in locating classes and attributes for specific elements when wanting to change CSS. Have you tried that?
__________________
X-Cart Business 5.4.1.29 |
|||||||
#3
|
|||||||
|
|||||||
Re: change background colour side margins
I have tried that and webmaster mode but cant pinpoint the class/div or maybe it is my nomenclature that is at fault if I want to change the background for the main-wrapper div for instance would the code be:
.main-wrapper {background-color:#669933;}
__________________
X-cart 4.4.3 |
|||||||
#4
|
|||||||
|
|||||||
Re: change background colour side margins
Quote:
What's your sites URL?
__________________
X-Cart Business 5.4.1.29 |
|||||||
#5
|
|||||||
|
|||||||
Re: change background colour side margins
__________________
X-cart 4.4.3 |
|||||||
#6
|
|||||||
|
|||||||
Re: change background colour side margins
Quote:
So this is odd. I have never seen this before. It looks like it's the html tag being targeted for that. See attached.
__________________
X-Cart Business 5.4.1.29 |
|||||||
#7
|
|||||||
|
|||||||
Re: change background colour side margins
And then when I turn that style off...voila
__________________
X-Cart Business 5.4.1.29 |
|||||||
#8
|
|||||||
|
|||||||
Re: change background colour side margins
ok so a style sheet entry is overriding the custom css change I have made to body background but where is it?
__________________
X-cart 4.4.3 |
|||||||
#9
|
|||||||
|
|||||||
Re: change background colour side margins
ok found the problem, I had to change the background colour in the digital themes css and .less files and that has done the trick, thanks for your help
xcart/skins/default/en/modules/XC/ColorSchemes/Digital/style.css xcart/skins/default/en/modules/XC/ColorSchemes/Digital/style.less
__________________
X-cart 4.4.3 |
|||||||
#10
|
|||||||
|
|||||||
Re: change background colour side margins
Quote:
Okay cool. I wasn't able to see those files in the document tree using Inspect Element- I can only see the images in there. Glad you figured it out.
__________________
X-Cart Business 5.4.1.29 |
|||||||
|
|||
X-Cart forums © 2001-2020
|