WordPress.org

Ready to get started?Download WordPress

Forums

Recent comments widget with comment excerpts
[resolved] Style widget (8 posts)

  1. NicoleHolgate
    Member
    Posted 1 year ago #

    Hi Corey,

    i have created a customised child theme and have uploaded your (great) widget.

    I would like to know how to style it so that the commentor's name is in a specific colour and is bold.

    I would like to do this so that future updates / upgrades do not affect the customisation.

    Please assist :)

    Nicole

    http://wordpress.org/extend/plugins/recent-comments-widget-with-comment-excerpts/

  2. Corey Salzano
    Member
    Plugin Author

    Posted 1 year ago #

    The easiest way to do this is to create CSS rules to apply the style you desire, and save those CSS rules in your theme's stylesheet.

  3. NicoleHolgate
    Member
    Posted 1 year ago #

    I'm a complete PHP noob.

    Can you please give me an example

    .comment-name{
    color:#1d730f;
    font-weight:bold;
    }

    ? Then where do I put the html? On the widget edit page? Whereabouts...

  4. Corey Salzano
    Member
    Plugin Author

    Posted 1 year ago #

    Nicole:

    I am publishing a new version of this plugin today to allow you to target the author name with CSS.

    You can add this CSS to your theme's stylesheet to change the look of the authors' names.

    .recentcommentsauthor{ color: #1d730f; font-weight: bold; }

    Find your theme's stylesheet under Appearance > Editor. It will likely be the first file that opens up in the editor.

    The version of the plugin you need for this to work is 0.121230, and it will be available to you as an update sometime today.

  5. NicoleHolgate
    Member
    Posted 1 year ago #

    Hi Corey,

    Sorry for delayed response!

    I sorted it out with many thanks to you :)

  6. martin1126
    Member
    Posted 9 months ago #

    Hello,

    Just installed your plugin. Do you where to adjust the number of characters in the excerpt comment. Thanks in advance for the help.

  7. martin1126
    Member
    Posted 9 months ago #

    I found it. Thanks anyhow.

  8. martin1126
    Member
    Posted 9 months ago #

    Is there a way to add the title of the post being commented? Which code I need to add in the core file?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic