- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
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
I clone a site into wordpress, But having problem with submenu,
http://facebookmenupages.com/product/
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 http://www.payvment.com/products/
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 http://www.payvment.com/products/
at http://www.payvment.com/products/ 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.
on the menu http://www.payvment.com/products/
$(‘.current-menu-item’).addClass(‘open’);
I am trying to do the same thing on http://divepromarketing.com 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.