Making nav menu cells clickable (instead of just the cell text)
-
Hi,
I am working on a site for a client using the blogolife theme. Here is the code for calling the menu:
<?php if ($wpl_menu == '' || $wpl_menu == 'Display') { ?> <nav> <?php wp_nav_menu( array('depth' => '3', 'theme_location' => 'primary', 'container' => '' )); ?> <div class="left-corner"></div> <div class="right-corner"></div> </nav> <?php } ?>
The problem is that just the text in the menu is clickable… not the enire cell.
So, when adding subpages, if you aren’t lightning fast getting to the submenu before it disappears… because only the text is calling the submenu; rather than the entire cell.
Anyone with any suggestions? I’m fairly savvy at coding and I should understand most responses.
https://loadedwithsavings.com (click on “black friday” in the main menu, and SLOWLY move your cursor off the text, and the submenu will disappear). I’d like the entire cell block to be clickable.
Thank you for any help.
- The topic ‘Making nav menu cells clickable (instead of just the cell text)’ is closed to new replies.