I'm trying to make the sidebar height 100% since my node background and page background colors are the same and the sidebar is white. I tried setting sidebar-first height to 100% in style and layout css files, but something is overriding it. I use Firebug and see that the width is being set in code in page.tpl. How can I do this?

I'd also like to set a backgroung image for the menu - been ahcking away for hours with no result.

Thanks for any assistance on this.

Comments

bwill’s picture

I solved the menu background image by changing the menu to the gloss black option and substituting my own image.

I would still like to know how to extend the side bar to 100%

bwill’s picture

I could really use some help with this. I read in the forum it couod be done with jquery, but I have no idea where to put the code.

bwill’s picture

Here is the jquery code I mentioned above. The sidebar names are different, but I wouldn't have a clue as to how to implement this:

Drupal.behaviors.drupal_mythemeStyles = function (context) {
//make sure sidebars are at least as tall as the main content area
  if(!$.browser.msie || parseFloat($.browser.version) > 7){
    var $mainHeight = $('#main').innerHeight();
    $('.sidebar-first-inner').css('min-height', $mainHeight);
    $('.sidebar-last-inner').css('min-height', $mainHeight);
  }
}

Would this work?

bwill’s picture

No help on this? Do I need to close and submit as a feature request?

mermentau’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

Closing old issues that have lain dormant over a year without a response from either side. Please reopen in the advent there's still interest.