By Piccolo-1 on
Hey,
I´m using Marinelli as a theme for the website. I managed to change the background color to white, but I would like to have a gray left and right column. I have screenshot for you pointing the inner border for the columns (screenshot). I´m not too familiar with css and I couldn´t find anyone doing this with Marinelli.
I know this is really simple task actually, but I don´t want to mess up the Marinelli layout. I´m hoping there´s someone friendly helping a beginner. :)
Here´s the layout.css of the Marinelli:
/*
*
*
* site-specific layout statements
*
*/
/* Structure
-------------------------------------------------------------- */
body,html{
margin:0px;
padding:0px;
}
#totalContainer{
margin-top:10px;
margin-bottom:10px;
}
.width_1#totalContainer{
width:1038px;
}
.width_2#totalContainer{
width:978px;
}
#topBar{
margin:0px;
padding:0px;
float:left;
width:100%;
}
#topBarContainer{
margin:15px auto 15px auto;
}
.width_1#topBarContainer{
width:1038px;
}
.width_2#topBarContainer{
width:978px;
}
#topBarLink{ /* top toggle bar */
text-align:center;
margin:0px;
padding:0px;
height:10px;
width:100%;
}
#topBarLink a{ /* top toggle bar */
float:left;
margin-left:48.5%; /* make it block level and try to center it without javascript..*/
padding:15px 10px 5px 10px;
}
#topBarLink.withoutTopRegion a{ /* makes space in case we don't have any element in the top Region */
margin-bottom:50x;
}
#top{ /* upper part of the template */
float:left;
width:100%;
height: 80px;
position:relative;
margin-bottom:40px;
margin-top:5x;
}
#topUtility{
position:absolute;
top:20px;
right:0px;
}
#logo-container{ /* image logo container */
float:left;
height:80px;
margin-right:10px;
margin-top: 0px;
}
#title-slogan{ /* site title and slogan container */
float:left;
margin-top:20px;
}
#site-title,
#site-slogan{
margin:0px;
padding:0px;
}
#search{ /* theme search box */
position: absolute;
right:0px;
top: 30px;
}
#search div{ /* search button inline */
display: inline;
}
#pageBorder{ /* makes the border */
float: left;
}
.ie7 #pageBorder{ /* for IE7 */
float: none;
overflow: hidden;
}
#contentWrapper{ /* wraps content */
float: left;
padding:15px 5px 15px 5px;
position: relative;
z-index: 1; /* follows the z-index order of primary menu and advertise (to solve ie7 z-index BUG )*/
}
.breadcrumb{ /* breadcrumb */
padding-bottom: 5px;
border-bottom: 1px dashed #ccc;
margin:0px 10px 15px 10px;
}
#footer{ /* site footer*/'
margin-top: 25px;
padding-bottom:60px;
float: left;
width: 100%;
position:relative;
color: black;
}
#navigation-footer{ /* site footer*/
position:absolute;
right:0px;
top:0px;
}
#bottomUtility{
position:absolute;
top:0px;
right:0px;
}
/* utility menu */
.utility ul.menu{
margin:0px;
padding:0px;
list-style:none;
}
.utility ul.menu li{
display:inline;
margin:0px 0px 0px 4px;
padding:0px;
}
.utility ul.menu li a{
padding-right:8px;
}
.utility ul.menu li:after{
content:"|";
}
/* Look & Feel
-------------------------------------------------------------- */
body.marinelli{
/*background: #17293d url(../img/backgrounds/body.gif);*/
background-color: white;
}
#topBar,#topBarLink,#topBarLink a{ /* top toggle bar */
background:#054b81;
}
#topBarLink a{
font-size: 1.1em;
}
.outsidecontent{
color: white;
}
#site-title,
#site-slogan{
font-weight: bold;
}
#site-title{
font-size: 3em;
line-height:0.8em;
}
#site-slogan {
font-size: 2em;
text-indent: 0.5em;
}
#pageBorder{ /* border of the whole site */
border:5px solid #054b81;
}
#pageBorder.noborder{ /* when we don't have the advertise region */
border-top:0px;
}
#contentWrapper{
background: white;
}
.breadcrumb { /* breadcrumb */
font-weight: bold;
}
.utility{ /* utility menu */
font-size:0.9em;
text-transform:uppercase;
}
Comments
Hey Piccolo,I dont know if
Hey Piccolo,
I dont know if you mean the body background.
(left and right of this red lines?)
then try
if your whole content gets gray add this too:
I think you missunderstood
I think you missunderstood me. I took a new screenshot of what I want to archieve:
http://dl.dropbox.com/u/75717543/thisiswhatimean.jpg
If you can help me with this, I would really appreciate it ! :)
please post me the page.tpl.
please post me the page.tpl.
Here is the page.tpl.php
Have you tryed my code? it
Have you tryed my code?
it should do what you want.
totalContainer = Wrapper (contains everything)
body = (area you have colored)
Yes I tried it and all the
Yes I tried it and all the background changed to gray. Is it possible that there are something in the css3 files of the Marinelli theme that affects this?
Here is css3_graphics.css
alright I think i understand
alright I think i understand you know
try this and remove my code from body
I tried this one, but didn´t
I tried this one, but didn´t get any borders, the background is completely white. The code is now like this:
Hmm, what´s the problem? :/
bump!
bump!
Got it working after adding
Got it working after adding this code: