Hi,

This is my site www.applicblue.com and I am exploring drupal. I am still building my site and I am not able to customize it.I have two problems at present.

1. I have decreased the width to 70% but now everything has gone at the left. I want it to be at center.
2. This is related with the first one. Actually I want a box at the center which will contain the whole site,something Like wordpress themes where there is a central box and everythign(all content) is inside it. I want to do that but I don't how to do it.

Thanks

Comments

Dash’s picture

1&2: create a div around the whole page and give it an id - something like 'maincontainer' and add this to your css(themes/chameleon/marvin/style.css):

#maincontainer {
width: 70%;
margin: auto;
}

You can add the border etc etc to this.

This is what I have done on my site!

Skip The Budgie

netentropy’s picture

where do you add this division? I found the CSS but I don't know where to find the HTML per say

Pushkar Gaikwad’s picture

yes as asked by where, where should I put the

tag ? it seems there is no html file.
gabriella’s picture

There is no html file ;-) You are using Marvin? The template file for Marvin is /themes/cameleon/cameleon.theme.

Dash’s picture

oops, double posting!

Skip The Budgie

pprusi’s picture

I added a div with id attribute (maincontainer) around everything in the body element:

#maincontainer {
margin-left: auto;
margin-right: auto;
width: 70em;
text-align: center;
}

Text has to be aligned to left in all blocks. Works (IE 6-7, Firefox 2) for site(www.tuomorosenlund.com) I have been developing.