Disable left/right fields

8 replies [Last post]
amnion
amnion's picture
Offline
Joined: 03/02/2008
Points: 0

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.

Jason
Jason's picture
Offline
Joined: 01/03/2008
Points: 8
Disabling left and right columns

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.

Anonymous (not verified)
Anonymous's picture
how do i put the left

how do i put the left sidebar (and featured sidebar) to the left of the page ?

amnion
amnion's picture
Offline
Joined: 03/02/2008
Points: 0
OK

Is there any way to increase the size of the text then, in just the forums, without increasing the text everywhere else?

bakinbox
bakinbox's picture
Offline
Joined: 04/08/2008
Points: 0
Hello, i think this is the

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.

 

Jason
Jason's picture
Offline
Joined: 01/03/2008
Points: 8
Creating a custom Drupal .tpl file for specific pages

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.  

bakinbox
bakinbox's picture
Offline
Joined: 04/08/2008
Points: 0
Thanks

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.

Jason
Jason's picture
Offline
Joined: 01/03/2008
Points: 8
Change forum font size

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.

amnion
amnion's picture
Offline
Joined: 03/02/2008
Points: 0
Awesome, thank you.

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. :)

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <strong> <code>
  • Lines and paragraphs break automatically.
  • Each email address will be obfuscated in a human readable fashion or (if JavaScript is enabled) replaced with a spamproof clickable link.

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.