WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] nav menu drop-down blocks too high (6 posts)

  1. ctm49
    Member
    Posted 3 years ago #

    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.

  2. toastedonions
    Member
    Posted 3 years ago #

    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).

  3. ctm49
    Member
    Posted 3 years ago #

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

    ''

    http://learningchinaholidays.com/

  4. toastedonions
    Member
    Posted 3 years ago #

    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).

  5. skapator
    Member
    Posted 3 years ago #

    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.

  6. ctm49
    Member
    Posted 3 years ago #

    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 !

Topic Closed

This topic has been closed to new replies.

About this Topic