Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

B

bdale

@bdale
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • 3-tiered dropdown menu
    B bdale

    Is it possible to have a 3-tiered dropdown menu? Meaning, once you hover the mouse over the main menu item, the first level of sub-items show up, and then on one of those you can hover and additional options then pop up?

    I have sub items input this way into the menu editor, but when using the code I listed below to enable the dropdown feature, they all show up at once instead of the third-tier items remaining unseen until I hover over their parent category. So basically I want to hover over "work" and then my subcategories show up, and when I hover over "VISUAL", "PORTRAIT" "FASHION", & "PERSONAL WORK" show up off to the right. Right now I have the below code used to enable the drop-down menu, but it makes everything show up at once when you hover over "work" (including the visual sub-items, which show up on top of everything so it's very messy).

    Screen Shot 2021-09-27 at 4.33.47 PM.png Screen Shot 2021-09-27 at 4.33.28 PM.png

    CODE I'M CURRENTLY USING:
    nav.primary .sub-menu{
    display: none;
    position: absolute;
    left: 0;
    top: 30px;
    background-color: rgba(255,255,255,0.9);
    padding: 25px;
    border: 0px solid grey;
    }
    nav.primary .sub-menu li{
    display: block;
    }
    .menu-item:hover .sub-menu{
    display: block;
    }

    Need Custom Coding for Lay Theme? Find 3rd Party Developers here.
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Recent
  • Tags
  • Popular
  • Users
  • Search