• Resolved andersonmultimedia

    (@andersonmultimedia)


    Another developer started (but didn’t) this theme using Bootstrap I believe. When I tried to add some submenus to the site from the WP admin, they didn’t show on the front-end as dropdowns. How can I make these submenus (ie Brewing, Winemaking, Distilling) into dropdown menus?

    Site

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,
    If you are using bootstrap you need to use bootstrap walker class file and need to add that class on wp_nav_menu. Try by reading this threat too. Try yourself once and if not work let me know. I will mentor you another way for it.
    Thanks

    Thread Starter andersonmultimedia

    (@andersonmultimedia)

    Thank you very much WEN Solutions. Developer came back to me and fixed with:

    .nav.main-nav ul.sub-menu li {
        border: 0 none;
        float: none;
    }
    .sub-menu {
        background: #000 none repeat scroll 0 0;
        display: none;
        left: 10px;
        min-width: 12em;
        padding: 5px 0;
        position: absolute;
        top: 100%;
        z-index: 100;
    }
    .nav.main-nav ul.sub-menu li a {
        display: block;
        font-size: 15px;
        padding: 5px 8px;
    }
    .nav.main-nav ul.sub-menu li a:hover {
        background: #fff none repeat scroll 0 0;
        color: #000;
    }
    .nav.main-nav li:first-child .sub-menu {
        left: 0;
    }
    .nav.main-nav > li:hover .sub-menu {
        display: block;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I make these submenus into dropdowns?’ is closed to new replies.