bohimt's blog
Editing Properties of Blocks
FILES: page.tpl.php, css/blocks.css
Step 1
Open up your page.tpl.php and blocks.css files.
Step 2
Look at our page.tpl.php
You will notice that all of the elements on the page are inside a div tag called “container”. All elements are place within this div. It’s just something to help you keep the page all neat and organized. Next, you need to figure out which blocks you wish modify. The default Drigg template is setup in 3 columns or 3 content blocks. They are all under one universal div called “content”.
Each one has class and id attributes set accordling to each div, to recognize each. Theres left, center, and right content columns, or
Centering your entire site
FILES: css/base.css
Step 1
Open up your base.css file.
Step 2
You are then presented with this. Of course theres more, but this is all we will be working with! Next, just simply add the style rule “text-align:center;” to your file, anywhere between the brackets in your body style as shown below. This just tells the server to center all the text in the body of the website. Of course it’s not text we are trying to center, its the container, but it recognizes it as a text element, and thus centers it.