I am using list groups in panels for my FAQ. Many of these lists are ordered and sequential instruction sets, and I would like the number to show up for a variety of reasons. It seems, however, that even an ordered list becomes an unordered list when wrapped as a list-group. Has anyone already overcome this? It seems like an oversight to me.
I have tried manually setting:
Other thoughts?
Fiddle: http://jsfiddle.net/4NtVR/
<div class="container">
<div class="panel panel-default">
<div class="panel-heading">Test</div>
<ol class="list-group">
<li class="list-group-item">Item 1</li>
<li class="list-group-item">Item 2</li>
</ol>
</div>
</div>
Got a working solution for any else that need this:
http://jsfiddle.net/jschavey/4NtVR/2/
ol li.list-group-item {
list-style: decimal inside;
display: list-item;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With