2

I'm confused when trying to create a Zen subtheme for Drupal 7. First of all I'm sorry if this is a silly question butI'm not an expert on CSS.

Basically I want to set a fixed height for the navigation menu shown on the following picture: (The one with the Home link)

Subtheme

I have tried several ways to achieve a fixed height on the navigation div(height:200px, overflow:auto, float:left) however for all of those methods the navigation div overlaps the content. So basically the question is why is this happening? and how could I avoid that?. Thanks a lot.

apaderno
  • 28,547
  • 16
  • 75
  • 90
Pablo
  • 3,433
  • 7
  • 44
  • 62

1 Answers1

2

Try the following CSS code snippet:

#nav
{
    height: 200px !important;
}
#nav:after
{
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

Hope this works... Muhammad.

Muhammad Reda
  • 26,379
  • 14
  • 93
  • 105