WordPress.org

Support

Support » Themes and Templates » menu goes through the bottom of the body

menu goes through the bottom of the body

  • When I for example click a date in the calendar, and the day just holds one post, the menu sticks out off the bottom of the page. Does anybody know, how I solve this problem? It must be a common one in WordPress with the ‘absolute’ placed menu bar?

Viewing 4 replies - 1 through 4 (of 4 total)
  • TechGnome

    @techgnome

    Moderator

    *stares at david in disbelief* — what do you want it to do? cut it self off?
    TG

    No 😉 I want the body to follow the length of the static menu bar – put in some white space, so to speak.

    Well you could modify the index.php file to use tables instead of layers, but then of course you would lose all the pretty formatting. You might consider doing what I did: make your content (blog) longer than a few lines, shorten the menu bar by changing the font size, line height, or through javascript collapseable menus.

    You can put a min-height in your css
    for example:
    #content {
    [...]
    min-height: 40em;
    }

    This makes sure that the content area is always minimum 40ems. If your text is longer, it will stretch, but it will never be less than 40 em.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘menu goes through the bottom of the body’ is closed to new replies.