[Resolved] Mega Menu Mobile Removing Arrows on Child

Home Forums Support [Resolved] Mega Menu Mobile Removing Arrows on Child

Home Forums Support Mega Menu Mobile Removing Arrows on Child

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1308091
    Gerik

    I followed this: https://docs.generatepress.com/article/building-simple-mega-menu/

    Looks great on Desktop.

    I would like
    mega-menu

    For Child Item NOT to have a pulldown just list everything out.

    Right now it’s
    Home
    Sample Page
    Parent Item ˅

    when you click on Parent Item then it becomes

    Parent Item ˅
    Child Item ˄
    Child Item ˄
    Shop ˄
    About ˄

    I would like it to be
    Parent Item ˅
    Child Item
    Grandchild Item
    Grandchild Item
    Child Item
    Grandchild Item
    Grandchild Item
    Shop
    About
    Test
    About
    Test
    Test

    with the bold just like the desktop version

    #1308169
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    So just to confirm, you want to show the sub-menu items on mobile by default with no arrows?

    Let me know 🙂

    #1308184
    Gerik

    Yes, and bold 2nd tier.

    #1309012
    Tom
    Lead Developer
    Lead Developer

    Give this a shot:

    .main-navigation ul .mega-menu > ul > li > ul {
        position: relative;
        top: 0;
        left: auto!important;
        right: auto!important;
        width: 100%;
        pointer-events: auto;
        height: auto;
        opacity: 1;
        display: block;
        visibility: visible;
        box-shadow: 0 0 0;
    }
    
    .main-navigation ul .mega-menu > ul > li > a > .dropdown-menu-toggle {
        display: none;
    }
    
    .main-navigation ul .mega-menu > ul > li > a {
        font-weight: bold;
    }
    #1309025
    Gerik

    Works, thank you!

    #1309143
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.