Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Mobile-menu

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #249649
    Ayala
    Participant

    http://codepen.io/Ayalann/pen/ygLGXa?editors=1100

    Hi!

    When I resize the screen and one button appears, the whole menu should appear by hover.

    I think the html is wrong.

    How can I fix it?

    #249650
    kwerty
    Participant

    Hi,

    .fa.fa-bars:hover + .firstsubmenu li {
    display: block;
    }

    this is what u need to fix the issue. Acutally you should hide the ul.firstsubmenu instead of li which is inside that ul element.

    #249651
    Ayala
    Participant

    This is working! :))
    Thank you!

    But I don’t really understand.
    This li means all of li?

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.