WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] Custom CSS not Working (3 posts)

  1. Thibaud
    Member
    Posted 1 year ago #

    Hi,

    I'm trying to customize your awesome plugin with a few lines of css in my child theme but...

    Nothing happens

    Im trying thoses ones
    ol.related-posts {clear:both; text-align:center; margin:10px 0px 15px 0px; padding:0;}

    .related-posts {
      list-style-type: none;
      margin: 0;
      height: 110px;
    }
    #myRelatedPosts li a img { float:left;margin-right:5px;border:1px solid #ddd;padding:3px; }
    #myRelatedPosts { list-style-type:none;margin:10px;width:480px; }
    #myRelatedPosts li { padding-left:0;clear:both;height:65px; }
    #myRelatedPosts li p { margin:0; }

    And my style never change with any of thoses codes, i'm using your new thumbnail feature and try to customize it. Could you please tell me what's wrong ?

    Thank you

    http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/

  2. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    You might want to try adding !important at the end of some of those CSS declarations. Try looking around online for !important to learn about that.

  3. Thibaud
    Member
    Posted 1 year ago #

    This solution seems to be the best one : Learn CSS

    Your completly right my friend.

    Thank you for taking the time to read my topic and keep doing the good job.

    Thibaud

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.