WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] nav menu drop-down blocks too high

[Resolved] nav menu drop-down blocks too high

  • I tweak things and check the result every time – but I did not notice that I have made a change that has resulted in my drop down blocks from the navigation menu being too high and obscuring the main menu item.

    Where can I find the bit of code that controls this element ? any help gratefully received.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Can you post a link to your site?

    If you’re using the default Twenty Ten theme, I *think* it’s a unordered list (ul) called “Children,” but a link will help me/anyone pinpoint it if I’m not recalling the name correctly (going off of memory here).

    Sorry – I should have put this in the original post.

    http://learningchinaholidays.com/

    Hmmm, doesn’t look like you’ve changed much – if any – of the original theme, so I’m not finding anything at first glance. Trying adding to style.css:

    ul.children {
    margin-top: 20px;
    }

    See if that bumps it. It’s the quickest thing I can think of, but if it doesn’t help then I would think something else is pushing it around (since this code seems otherwise unadulterated).

    try making the parent li relative…

    ul.current_page_item li{
    position:relative;
    }

    ul.children li {
    position:absolute;
    display:block;
    top:20px;
    }

    give the children li height and width that you want and play with th top setting.

    Thanks all for your help – as with most of this stuff I am finding neother of the solutions you gave me worked – BUT – they got me to the right place with the right idea 🙂

    #access ul ul li {
    	min-width: 180px;
    	bottom:-20px;

    Thanks guys !

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] nav menu drop-down blocks too high’ is closed to new replies.
Skip to toolbar