kmpoaquests
Member
Posted 3 years ago #
My problem is When I use this code
<div id="categories">
<ul class="fix">
<?php wp_list_cats('sort_column=name&optioncount=1'); ?>
</ul>
</div>
My categories usually list horizontally if I use this code BUT , because I only used one category and added many children categories it is being displayed vertically , is there anyway to force it to be displayed horizontally ?
Please help me I'm desperate
My site is
you need to add a CSS styling of
#categories ul.fix li { float: left; } or
#categories ul.fix li { display: inline; }
kmpoaquests
Member
Posted 3 years ago #
That didn't exactly help It ended up messing the position of the categories
, could you help me check it out
my site is http://phatbrush.com/
For starters, change this section (line 565)
from this
#categories li {
display:block;
float:left;
margin-right:10px;
text-align:right;
width:150px;
}
to this
#categories li {
display:block;
float:left;
margin-right:10px;
text-align:right;
}
you will need to tweak padding etc
kmpoaquests
Member
Posted 3 years ago #
Thanks a million my friend !