Disable left/right fields
Is there any way to disable those fields for certain pages so the content fills up the whole screen? The forums are pretty small and I'd like to have those take up the whole page.
Hi Amnion,
Unfortunately both the left and right columns in this theme are hard coded in the page.tpl file. To handle your request you'd need to create a custom .tpl file for the forum page so that when the forum pages are rendered, the middle (left column sidebar) gets removed.
You'd also need a little customization to the style.css because just removing the controlling the left of the two right columns would likely break the theme layout.
how do i put the left sidebar (and featured sidebar) to the left of the page ?
Is there any way to increase the size of the text then, in just the forums, without increasing the text everywhere else?
Hello, i think this is the biggest handicap of this theme, could you tell me in wich file we should make the modifications or we have to override. (page.tpl...) or as you said, we have to to create a new file.tpl and override for forum (in this case if you know the code to do this).
Sorry for my english ( i´m spanish)
Thanks in advance.
Hi, This post explaines how to do this much better than I ever could.
http://drupal.org/node/104316
I would also suggest you install the Firefox plugin called Firebug. It's very handy when updating or tweaking CSS, like font sizes, positioning, floats, etc. etc.
Great, i think i saw this explanation in a book of Drupal for themes.
I´ll ready have firebug, it´s a fantastic plugin.
Thanks.
Hi Amnion,
You can change the CSS for anything you wish. In the case of the forums, you have this in your source code:
div id="forum"
So, you have a number of different styles associated with the forums. I looked at yours and you have this for example:
td.forum {
padding-left: 15px;
}
#forum td {
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #000000;
border-right-color: #000000;
border-bottom-color: #000000;
border-left-color: #000000;
}
This is located in some weird CSS file you have called:
http://www.fatalfitness.com/files/css/74b72b1...
Most of the time the styles for the forum is on the system.css for Drupal, but not sure why yours is the above.
But sure, you can change the font size to whatever you want.
I'd recommend that you look at the "Advanced forum" module contributed to Drupal. It works much better for the forum look and feel.
I'll take a look at that, not sure about that CSS file though. I've been looking into the Advanced forum, and I'm working on getting it to work. :)
