OK so i've decided on an open source theme to develop my drupal site and am making steady progress.
I'm currently converting http://openwebdesign.org/viewdesign.phtml?id=2914&referer=%2Fmost_popula... and everything is now functioning the way i would have hoped apart from a few things that are driving me crazy.
The theme has a right and left content area. These are defined in css as
.left {
float: left;
width: 490px;
margin: 0 0 10px 0;
}
.right {
float: right;
width: 245px;
margin: 0 0 10px 0;
}
And function as they should. The entire theme is centre positioned at 760px.
Now what i'm trying to do is make my forums full 760px long by disabling the right column blocks when viewed.
I achieved this somewhat with hashing around with the CSS but it wasn't exactly very clean and potentially has problems later on.
I checked in page.tpl.php if content existed in the right column before displaying the
like so
<?php if ($sidebar_left) { ?><div class="right">
<?php print $sidebar_left ?>
</div><?php } ?>
Ignore the sidebar_left attribute its just the way the site was originally set on regions. It does go to the right :)
So the div doesn't display anymore. Perfect. But obviously the left content area is still set to 490px.
I did override this with
#forum table {
width: 760px;
}