issue with wp_nav_menu sub-menu background
-
Hi,
I have some issue with wp_nav_menu sub-menu background.
on first better you see this Screenshot :
[img]https://img808.imageshack.us/img808/4707/ss2jv.jpg[/img]
[img]https://img832.imageshack.us/img832/8620/ss1nv.jpg[/img]I need to make background sub-menu like that. but I have some problem with the background.
the background should be adjust with sub-menu text like SS above.
but mine can’t be like that.I need to have more than one div to do that, but I don’t know how to give more than one div.
whereas I just got one div with wp_nav_menu tag
<?php wp_nav_menu(array( 'container_id' => 'navCont', 'menu' => 'main menu' ) ); ?>
I make a static code for sub-menu background like this :
[Code moderated as per the Forum Rules. Please use the pastebin]and I slice the background images into 9 pieces. and the background work fine. like this :
[img]https://img822.imageshack.us/img822/1968/ss3c.jpg[/img]anybody can help me with this issue ? >.<
my boss will hang me ASAP if I can’t make it happen soon.
I’m stuck with this issue more than 1 week.
I have to tried jQuery manipulation to injection the div tag, etc. but still can make it like first SS above.Thanks,
Rudy
- The topic ‘issue with wp_nav_menu sub-menu background’ is closed to new replies.