Cormac
New Member
Hi, i'm using the following CSS code to style a menu in wordpress. The php code to render the menu is displayed below. The code is meant to display menu items in a block style but as you can see from the screen shots below it is not having the desired affect.
Menu Correct is how the menu is meant to be displayed and Menu Wrong is what i'm getting from the code below. Does anyone why the error is occuring?
Thanks
the php code to display the menu is
Menu Correct is how the menu is meant to be displayed and Menu Wrong is what i'm getting from the code below. Does anyone why the error is occuring?
Thanks
Code:
h4 {
font-weight:700;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #000000;
margin: 0 0 0px 0px;
padding: 0px 0 0px 0px;
text-align: left;
display: block;
}
#showentry {
margin: 0;
padding: 0;
display:block;
}
#showentry a {
text-decoration:none;
}
#showentry:hover {
color: #ffffff;
display:block;
background-color:#FF7324;
}
the php code to display the menu is
PHP:
<div id="showentry">
<ul>
<h4><?php wp_list_cats(); ?></h4>
</ul>
</div>