Changing colours of sidebars
-
Hi there,
I need some help with changing the colors of my sidebars.
https://www.bestkeyloggingsoftware.com
I want to have a different color for each sidebar, and I manage to get the background images up for both of them, but only one will repeat vertically, either the left or the right. I have changed the stylesheet from:
body
{
margin: 0 auto;
padding: 0;
background-color: #FAFAFA;
background-image: url(‘images/Page-BgTexture.jpg’);
background-repeat: repeat-y;
background-attachment: fixed;
background-position: top right;}
to
body
{
margin: 0 auto;
padding: 0;
background-color: #FAFAFA;
background-image: url(‘images/Page-BgTexture.jpg’);
background-repeat: repeat-y;
background-attachment: fixed;
background-position: top right;
background-image: url(‘images/grey-bg-sheet-left.png’);
background-repeat: repeat-y;
background-attachment: fixed;
background-position: top left;
}This repeats the left sidebar vertically, but not the right one.
So I changed it to
body
{
margin: 0 auto;
padding: 0;
background-color: #FAFAFA;
background-image: url(‘images/Page-BgTexture.jpg’);
background-repeat: repeat-y;
background-attachment: fixed;
background-position: top right;
background-image: url(‘images/sheet-red.png’);
background-repeat: repeat-y;
background-attachment: fixed;
background-position: top right;}
which then displays the right (red) sidebar all the way down, but I don’t have the left sidebar repeating.
So I changed it to
body
{
margin: 0 auto;
padding: 0;
background-color: #FAFAFA;
background-image: url(‘images/Page-BgTexture.jpg’);
background-repeat: repeat-y;
background-attachment: fixed;
background-position: top right;
background-image: url(‘images/sheet-red.png’);
background-repeat: repeat-y;
background-attachment: fixed;
background-position: top right;
background-image: url(‘images/grey-bg-sheet-left.png’);
background-repeat: repeat-y;
background-attachment: fixed;
background-position: top left;
}
which brings the left (grey sidebar back repeating, but I’ve lost the right (red) sidebar repeating. I was playing around with all different positions and possibilities (I think), but it either displays the left or the right one repeating, never both.Btw., I am using a free WP template created with Artisteer.
I have also changed the Sidebar in the stylesheet accordingly (see below). However, it seems as if I am still missing something.
The Cell Layout reads as follows:
/* begin LayoutCell */
.art-contentLayout .art-sidebar1
{
position: relative;
margin: 0;
padding: 0;
border: 0;
float: left;
overflow: hidden;
background-image: url(‘images/grey-bg-sheet-left.png’);
background-repeat: repeat-y scroll;
width: 238px;
}
/* end LayoutCell *//* begin LayoutCell */
.art-contentLayout .art-content
{
position: relative;
margin: 0;
padding: 0;
border: 0;
float: left;
overflow: hidden;
width: 567px;
}
.art-contentLayout .art-content-sidebar1
{
position: relative;
margin: 0;
padding: 0;
border: 0;
float: left;
overflow: hidden;
width: 805px;
}
.art-contentLayout .art-content-sidebar2
{
position: relative;
margin: 0;
padding: 0;
border: 0;
float: left;
overflow: hidden;
width: 755px;
}
.art-contentLayout .art-content-wide
{
position: relative;
margin: 0;
padding: 0;
border: 0;
float: left;
overflow: hidden;
width: 993px;
}
/* end LayoutCell *//* begin LayoutCell */
.art-contentLayout .art-sidebar2
{
position: relative;
margin: 0;
padding: 0;
border: 0;
float: left;
overflow: hidden;
background-image: url(‘images/sheet-red.png’);
background-repeat:repeat-y scroll;
width: 188px;
}
/* end LayoutCell */to
margin: 0 auto;
padding: 0;
background-color: #FAFAFA;
background-image: url(‘images/Page-BgTexture.jpg’);
background-repeat: repeat-y;
background-attachment: fixed;
background-position: top right;
background-image: url(‘images/grey-bg-sheet-left.png’);
background-repeat: repeat-y;
background-attachment: fixed;
background-position: top left;Any ideas anyone?
Help is greatly appreciated.
- The topic ‘Changing colours of sidebars’ is closed to new replies.