2 columns request

Isgleas - January 27, 2006 - 02:24
Project:Lincoln's Revenge
Version:4.6.x-1.x-dev
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi there. I'm not experienced at CSS nor Drupal at all, I installed it and so your theme, but I just cannot find the way to make it 2 columns only.

I thought putting no blocks on the right sidebar would be enough, but it just reserves the space in case someone needs it 8-| I'd like that region to be used by the main column.

I've tried by getting rid of this lines at page.tpl.php, but no result:

   <div class="rightcolumn sidebar" id="sidebar-right">
     <div class="rightpadding">
       <?php if ($sidebar_right != '') { ?>
         <div class="sidebar" id="sidebar-right">
           <?php print $sidebar_right; ?>
         </div>
       <?php } ?>
     </div>
   </div>

Is there a way to achieve this with lincolns_revenge's theme? Thx.

AttachmentSize
lincolns.png377.38 KB

#1

Isgleas - February 1, 2006 - 01:55

Found a solution :-P I know is not the best, but is the one that worked.

On layout.css :

rightcolumn's width set to 1px
centercolumn's margin-right set to 1px (so in IE's hack)

That's only hidding that column, I know there'll be some funny results if I put blocks on the right sidebar, but I'll try not...

Thx.

P.S. a better way, would be appreciated.

 
 

Drupal is a registered trademark of Dries Buytaert.