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

  1. Home
  2. Need Custom Coding for Lay Theme? Find 3rd Party Developers here.
  3. 3-tiered dropdown menu

3-tiered dropdown menu

Scheduled Pinned Locked Moved Need Custom Coding for Lay Theme? Find 3rd Party Developers here.
1 Posts 1 Posters 97 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bdale
    wrote on last edited by bdale
    #1

    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;
    }

    1 Reply Last reply
    1
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    I also code custom websites or custom Lay features.
    šŸ’æ Email me here: šŸ’æ
    info@laytheme.com

    Before you post:
    1. When using a WordPress Cache plugin, disable it or clear your cache.
    2. Update Lay Theme and all Lay Theme Addons
    3. Disable all Plugins
    4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

    This often solves issues you might run into

    When you post:
    1. Post a link to where the problem is
    2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
    3. If the problem is difficult to explain, post screenshots / link to a video to explain it
    Online Users
    L
    Liefko
    M
    MWPA
    S
    sophes
    P
    piotr
    Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
    laytheme.com
    • Login

    • Don't have an account? Register

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