How to remove space between sidebar and content

tjay12 - May 24, 2007 - 04:53

Hi, I have modified the golden hour theme for my website at http://www.clickarug.com/dru/.
I want to move the content to left so that it touches the sidebar. I mean, I don't want any sapce between sidebar and the content. I have tried to remove all the margins and padding but still can't achieve the result that I want. Any help will be appreciated. Thanks

Haven't looked at in any

denizengt - May 24, 2007 - 05:28

Haven't looked at in any depth, but have you tried removing the padding from #content and #sidebar, and tried setting those to pixel sizes rather than percentages?

In your CSS, line 164

dsnoeck - May 24, 2007 - 07:28

Change the padding of #content: padding: 0;

also change your style=width: to the value 81%;
The best will be to add this in the CSS:

#content {
  ...
  padding: 0;
  width: 81%;
}

Cheers,
Damien
----------------
Keep Open Spirit

Thanks Damien

tjay12 - May 24, 2007 - 08:20

It worked!

I also had to remove
style="width:

<?php
print golden_hour_get_primaryContent_width($sidebar_left)
?>

from page.tpl.php

 
 

Drupal is a registered trademark of Dries Buytaert.