Break up post list when in alphabetical order
-
In the List Category Posts plugin I am using
[catlist id=2 orderby=name order=asc]
to return an alphabetical list of what will be some 200+ posts in this category, and the same number or more in categories on other pages.I would like to break up these lists so that there is a blank line between the A’s and B’s, B’s and C’s etc. Otherwise it’s a bit heavy on the eye, to scan down such a long list.
I found I could achieve this by creating a post with the slug ‘b’ and no title, another with the slug ‘c’ and no title etc, and putting them in each of the relevant categories.
However, although there is then a blank line between each group of posts (A’s, B’s, C’s etc), the blank line still contains a bullet point, which doesn’t look so good either. I then wanted to remove ALL the bullet points from my list as well as inserting the blank lines.
So I removed the bullet points from the whole list by adding this to the site CSS:
#content ul.lcp_catlist li {list-style-type:none; }
. But while it successfully removed all the bullet points, it also closed up the list again so the whole unbroken list is displayed.Can anyone suggest how I can insert blank lines between posts starting with different letters in the list, but also remove the bullet points?
Many thanks –Nick
- The topic ‘Break up post list when in alphabetical order’ is closed to new replies.