Forums

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

Home Forums CSS [Solved] drop down menu makes menu bar items go on one side

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #192143
    sushant1184
    Participant

    I have been making a webpage where i have dropdown menu in navigation bar. when i hover on particular item it shows the dropdown menu but other items stretch and fall out of menu bar

    can anyone please help me

    #192168
    Jimmy
    Participant

    It would be helpful to see what your code looks like for the navigation (menu bar) in order to give the best feedback.

    #192171
    sushant1184
    Participant

    Actually i want to make it responsive nav but when i add flexbox to it and hover over the menu item then the drop down list pushes all other items to right.

    here is my code

    [MOD EDIT Mega Codedump Removed]

    #192172
    sushant1184
    Participant

    Actually i want to make it responsive nav but when i add flexbox to it and hover over the menu item then the drop down list pushes all other items to right.

    here is my code

    [MOD EDIT – Mega Codedump Removed]

    #192184
    Paulie_D
    Member

    Please use Codepen to demo code of that length.

    Thank you,

    #192198
    sushant1184
    Participant

    this happens

    http://codepen.io/sushant1184/pen/EaNEwW

    can anyone please help me

    #192213
    Paulie_D
    Member

    It’s the way you have positioned the submenus.

    The submenu wrapping divs should be positioned absolutely with the parent lihaving absolute position.

    http://codepen.io/Paulie-D/pen/emBKVa

    Frankly you don’t need the divs, you could just use the submenu ul but that’s another issue.

    #192381
    sushant1184
    Participant

    Thanks Paulie_D and everyone for the support.

    This solved my problem

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