List category posts
[resolved] Class (CSS) for plugin (10 posts)

  1. RoyalMess
    Posted 3 years ago #

    How do i configure the class (CSS) to make the titles colored/bold?

    Like i did with this:
    h2 { font-family: DINBold; color: #ce382d; margin-bottom: 12px; font-size: 36px; }


  2. RoyalMess
    Posted 3 years ago #

    Anyone please?

  3. fernandobt
    Plugin Author

    Posted 3 years ago #

    If you want to apply a CSS class to the title PLEASE READ THE DOCUMENTATION, it clearly says how to do it for the title under HTML & CSS Customization.

    If you're asking for the CSS then that's not a question about the plugin, but that would be something like:

    color: #f00;
    font-weight: bold;
  4. nemanja.radevic
    Posted 3 years ago #

    i also put stlyes in tags and s it not working i had to hardcode in the code some classes but i still cannot hardcode the date class

    [catlist id="224" date="yes" date_class="news-date" dateformat="l F dS, Y" excerpt="yes" excerpt_overwrite="yes" excerpt_size="30" excerpt_strip="yes" thumbnail="yes" thumbnail_size="100,100 " orderby="date" order="desc"]

    none of those classes works and that is why i had to edit catlist.php and catlistdisplayer.php to put 2 classes


    if anyone knows please tell me how to correct my shortcode so i can add the classes for there

  5. Roads Less Traveled
    Posted 3 years ago #

    The PLEASE READ THE DOCUMENTATION link given above doesn't go anywhere. I'm struggling to understand how to format this with CSS too.

  6. nemanja.radevic
    Posted 3 years ago #

    [catlist id="341" date="yes" date_tag="p" date_class="news-date" dateformat="l F dS, Y" excerpt="yes" excerpt_overwrite="yes" excerpt_size="30" excerpt_strip="yes" thumbnail="yes" thumbnail_class="thumbnews" thumbnail_size="100,100 " orderby="date" order="desc" posts_morelink="Read More"]

    this is how it worked for me

  7. nemanja.radevic
    Posted 3 years ago #

    [Moderated - please do not use these forums to solicit work -
    http://codex.wordpress.org/Forum_Welcome#Helping_Out ]

  8. Samedi Amba
    Posted 3 years ago #

    @hunter44 I guess you should just grab the link and paste in your browser. Worked for me that way. Find it below, just in case


  9. warmax356
    Posted 3 years ago #

    @nemanja.redevic, did you manage to do this, and i am looking on how to set this up, as the methods i have tried failed...

  10. tonywpee
    Posted 3 years ago #

    The documentation is a bit incomplete.

    First decide what part of the output you want to format, e.g. the author name.

    Then decide how you want to do that, e.g. with a span.

    Then create a class in the theme's CSS stylesheet (in Appearance -> Editor) Note: there might be more than one style sheet so you might have to experiment to identify which one works) e.g.:

    .cpauthor {font-weight:bold;}

    Then call that class with a tag inside the catlist parameters like this:

    [catlist name=your-cat author_tag=span author_class=cpauthor]

    This worked for me.

    Wish I could figure-out how to change the LI bullets though ...

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • List category posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic