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

Home Forums JavaScript Want to visible submenu on its active page in WordPress

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #36053

    I clone a site into wordpress, But having problem with submenu,

    in this page when hove on product link the sub menu is displayed, but after moveout the cursor sub menu disappeared. But i want to make it visible after move out cursor, that means active page submenu will be visible on it page. how can do that. original site is


    You could do this:

    .current-menu-item .sub-menu { display: block; }

    thanks, Mostly working When the page first load on product page, when i move mouse to about page & after that move out mouse, the product page submenu not showing again. Which is showed on original site


    at for product link using same submenu like other link with display: block but when u hover on another link, it turns their display: hidden to block which covers Product’s submenu links.
    As I dont know how your codes works, i cant help more about codes.

  • is contain .current-menu-item class, so if i add here another class called “open” using jquery , then the menu will work,
    I add this code on header, but its not working



I am trying to do the same thing on I am using Divi theme with a child theme for css edits. I have tried a bunch of different edits but none of them make the sub menu visible.

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