I have been trying so that my site have two background colors. The content will have white, while either the sidebars or the margin have another color. On PageLines Layout Editor I have customized so that the content area is 1148px, so it is space for margin. But when I use Firebug I can't find any margin css code.
So I tried to give the sidebars background color instead. I saw that on Firebug my sites name for the class for the sidebars are two-sidebar-center. So on custom code I added the code:
#two-sidebar-center {
background-color: #6BB99A;
}
Nothing happened. What is missing? Am I on the right direction or am I lost?
My site is
Website having two background colors
Started by
svabodesign
, Sep 19 2012 05:39 PM
sidebar margin background-color
7 replies to this topic
#1
Posted 19 September 2012 - 05:39 PM
#2
Posted 19 September 2012 - 05:52 PM
Hi
Please try for example:
Use "background" NO "background-color"
Please try for example:
Use "background" NO "background-color"
#3
Posted 19 September 2012 - 07:13 PM
It worked, thank you 
Where am I suppose to use "background" NO "background-color" ?
The sidebars though are not completely to the edge, what can I do to move the sidebars to the edges of the site. Would it also be difficult to you add background color to the margin instead?
Where am I suppose to use "background" NO "background-color" ?
The sidebars though are not completely to the edge, what can I do to move the sidebars to the edges of the site. Would it also be difficult to you add background color to the margin instead?
#4
Posted 19 September 2012 - 09:07 PM
Hi there, I'm glad Batman's solution worked for you. In order to get the sidebar to move right to the edge of the page you'll need to take the padding out of the content-pad on the left.
#5
Posted 19 September 2012 - 09:36 PM
James B, I added the code and the sidebars moved closer to the edge but not completely. Is there something more I need to do?
I appreciate all the help
I appreciate all the help
#6
Posted 19 September 2012 - 11:21 PM
Hi
You can try with
I said you background for your first code
#two-sidebar-center {
background-color: #6BB99A;
}
You can try with
I said you background for your first code
#two-sidebar-center {
background-color: #6BB99A;
}
#7
Posted 20 September 2012 - 12:34 PM
It worked perfect
Thank you!
#8
Posted 23 September 2012 - 01:30 PM
The topic was marked as resolved.
Also tagged with one or more of these keywords: Resolved, sidebar, margin, background-color
PageLines Framework →
Customizations →
Custom LayoutStarted by sonaros , 15 May 2013 |
|
|
||
SidebarStarted by thk0418 , 09 May 2013 |
|
|
||
body content margins.Started by jonthompson , 02 May 2013 |
|
|
||
Issue with background color on pageStarted by ppsonline , 27 Apr 2013 |
|
|
||
PageLines Framework →
Customizations →
Background color for full widthStarted by desmolly , 21 Apr 2013 |
|
|











