Forums

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

Home Forums CSS dropdown menu that works in a rwd site

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #43038
    matbathome
    Member

    So I’m looking for clues on how to do a dropdown menu that works both in the regular and the mobile version of a site. And I want it just to be in CSS, no javascript. I saw this (https://css-tricks.com/convert-menu-to-dropdown/) but I want there to be a dropdown in the regular site as well. Basically, I’m going to have a series of buttons in the nav and some will have dropdowns and some won’t. Does that make sense?

    #126443
    Paulie_D
    Member

    Probably can’t be done as you might think.

    As you can see from the linked article, there are two menus….it’s just that JS populates one of them with information from the first one. You can’t do that with CSS.

    Of course, if you are happy to update the HTML manually then you can do it without the JS.

    Up to you.

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