Grow your CSS skills. Land your dream job.

Nav menu error- Mainmen/nav menu has dissappeared

  • # February 12, 2013 at 7:45 pm

    Hi there,

    I am pretty new to this but have a problem with a site I am working on.

    I went to add a new page to the mainmenu in Appearance/Menus. The main menu is located under the slider. Somehow did something I shouldn’t have and now the menu background, which was previously grey, has disappeared or is showing white. When I hover over the menu each page shows up individually but when not hovering the whole area is blank/white.
    I’m fairly new to CSS but have attached what is showing on the stylesheet.
    Any help is appreciated- thank you.

    [Your text to link here...](http://cdpn.io/meoEb “”)

    # February 12, 2013 at 7:54 pm

    Not sure if the codepen is attached

    http://cdpn.io/meoEb

    # February 12, 2013 at 8:00 pm

    You need to clearfix your list, I’m no pro on clearfixes but this worked for me:

    ul#mainmenu-menu:after {
    content:””;
    display:block;
    clear:both;
    }

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".