Hi – I would like to display a custom menu horizontally in a footer widget (not in the socket). I have tried all sorts of css via Firebug but cannot force the custom menu to display inline.
Are you able to provide me with the necessary css to do this ?
Thank you, David
Hi,
Can you post the link to your website please? and a screenshot of what you want to achieve?
Regards,
Josue
Hey!
Oh ok, try this, add a HTML Widget with this:
<ul id="myCustomList">
<li><a href="">Link 1</a></li>
<li><a href="">Link 2</a></li>
<li><a href="">Link 3</a></li>
<li><a href="">Link 4</a></li>
<li><a href="">Link 5</a></li>
<li><a href="">Link 6</a></li>
</ul>
Then add this CSS:
#myCustomList li{
border-right: 1px solid white;
display: inline-block;
margin-right: 5px;
padding-right: 5px;
}
Best regards,
Josue
Hey!
There is still a way to do it, you can create the Menu, then invoke it with raw PHP code using this plugin in the Widget.
The code that invokes a menu is:
<?php wp_nav_menu( array('menu' => 'Project Nav' )); ?>
http://codex.wordpress.org/Function_Reference/wp_nav_menu
Cheers!
Josue