WordPress.org

Ready to get started?Download WordPress

Forums

List category posts
[resolved] excerpt title styling (4 posts)

  1. capucinegaudry
    Member
    Posted 1 year ago #

    Hi,
    I am trying to style the excerpt post title (which is a link to the post) but cannot seem to be able to do even when giving it a class name.

    I tried [catlist excerpt=yes title_class=lcp_title]

    in css (main theme css)

    .lcp_title {
    font-size:2em;
    }

    Not working... I also tried 1000 other combinations, still nothing works! If I do: a {font-size:2em;} it works but affects all the links (read more...)

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

  2. dave.dave
    Member
    Posted 1 year ago #

    Try

    title_tag=h1

    instead of

    title_class=lcp_title

  3. capucinegaudry
    Member
    Posted 1 year ago #

    Thank you for your response. I had managed to find a cure, here it goes:

    title_tag=span title_class=lcp_title

    Now it works! Hope this helps someone!

  4. dave.dave
    Member
    Posted 1 year ago #

    Excellent!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic