WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Different style for different pages ( style for catlist?)

[Resolved] Different style for different pages ( style for catlist?)

  • Hi! I want to make a list in two columns. It is easy through CSS

    .lcp_catlist ul{
     list-style-type:none;
     width:600px;
     }
     .lcp_catlist li {
     float:left;
     margin: 20px 0 0 0;
     padding: 0 20px 0 0;
     width:250px;
     }

    But this style is used globally. How to use a different style of style to different lists?
    Code catlist _class=lcp_catlist1 don’t work

    http://wordpress.org/extend/plugins/list-category-posts/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Fernando Briano

    @fernandobt

    Please, for the love of the Flying Spaghetti Monster, read the Documentation.

    The correct parameter is not “catlist_class”, it’s just “class” if you want to style the ul:

    class – CSS class for the default UL generated by the plugin.

    Thanks!

    Thank you. That work:
    [catlist id=35 tags= universal orderby=title class=class_for_post1]
    and
    [catlist id=35 tags= universal orderby=title class=class_for_post2]

    Example CSS

    .class_for_post1 ul{
     list-style-type:none;
     width:600px;
     }
    
    .class_for_post2 ul{
      width:100px;
     }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Different style for different pages ( style for catlist?)’ is closed to new replies.