CSS menu (open cube)
-
I’m relatively new to WP. About 2 years ago I purchased a site license for Quick Menus from opencube.com and I’m very happy with it.
I’d like to have WP menus work the Quick Menus drop downs. What I need seems pretty simple, here it is:
This line in my theme:
<?php wp_list_pages('sort_column=menu_order&title_li='); ?>
Sends this to the browser:
<li class="page_item page-item-2"><a href="https://culinarytraveler.com/about/" title="About">About</a></li> <li class="page_item page-item-7 current_page_item"><a href="https://culinarytraveler.com/portfolio/" title="Portfolio">Portfolio</a></li> <ul> <a href="https://culinarytraveler.com/portfolio-child/" title="Portfolio">Portfolio Child</a></li> </ul> <li class="page_item page-item-19"><a href="https://culinarytraveler.com/contact/" title="Contact">Contact</a></li>
But I need the list to be output as
<div>
:<div style="width:220px;"> <a href="https://culinarytraveler.com/about/" title="About">About</a> <a href="https://culinarytraveler.com/portfolio/" title="Portfolio">Portfolio</a> <div style="width:200px;"> <a href="https://culinarytraveler.com/portfolio-child/" title="Portfolio">Portfolio Child</a> </div> <a href="https://culinarytraveler.com/contact/" title="Contact">Contact</a> </div>
Where would I begin to look for this formatting? Is it different with each theme or is this WP coding?
thanks,
TimP.S. this is the first time I tried to enter code in this forum, if it doesn’t show right I’ll post this again.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘CSS menu (open cube)’ is closed to new replies.