wp_get_links won’t display inline after 2.1 upgrade
-
At https://idahofallz.com the footer displays one link category. Before the 2.1 upgrade, they displayed in a big paragraph (using display: inline;)
Now, after the 2.1 upgrade, they display in one column. They still respect the
line-height: 200%
so it’s frustrating why they don’t respect the inline.I’ve tried adding the inline to both the UL and the LI, I’ve tried displaying with and without
<li>
, with and withoutid="footer"
and I’ve tried theid=
on both the UL and the LI; the only changes seem to be losing and gaining the line height.
Help!Here’s the CSS:
#footer {
clear: both;
position: relative;
float: bottom;
background: #fff;
color: #990000;
text-align: center;
font-size: 1.2em;
margin: 0;
padding: 20px;
}
#footer ul {
margin: 0;
padding: 10px;
list-style: none;
display: inline;
}
#footer ul li {
margin: 0;
padding: 10px;
list-style: none;
display: inline;
line-height: 200%
}
Here’s the code:
<ul>
<li id="footer">
<?php wp_get_links(41); ?>
</li>
</ul>I know it’s gotta be something simple!
- The topic ‘wp_get_links won’t display inline after 2.1 upgrade’ is closed to new replies.