Viewing 3 replies - 1 through 3 (of 3 total)
  • I love this plugin but I really need this also to add a divider. I am even having trouble altering the space between posts.

    Again, great plugin!

    I just poured over the documentation and found a fix that might apply to izy79’s issue.

    I added title_tag=p title_class=catlist-title to the shortcode and then added p.catlist-title with a margin-top and border top to my css.

    Plugin Author Fernando Briano

    (@fernandobt)

    This is possible using CSS with the default parameters. If you use something like:
    [catlist id=1]
    The posts you’ll get will have a markup similar to this:

    <ul class="lcp_catlist">
      <li><a href="whatever">First post</a></li>
      <li><a href="whatever">Second post</a></li>
      <li><a href="whatever">Third post</a></li>
      <li><a href="whatever">Fourth post</a></li>
    </ul>

    So in your CSS you can add something like:

    .lcp_catlist li{
    	margin-bottom: 20px;
    	border-bottom: 20px solid black;
    }

    And that would separate the posts. If you want further customization you should use a template.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Content after each post’ is closed to new replies.