WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] Title Characters (13 posts)

  1. marc1om
    Member
    Posted 9 months ago #

    Hello,

    Great plugin. How do I change the title output? Right now it's displaying two lines of text. I'd prefer to change it to three.

    Best,
    marc1om

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

  2. jeffparker
    Member
    Plugin Author

    Posted 8 months ago #

    You'll need to change the CSS to make the Title container deeper. See the FAQ and search for "Some common overrides".

  3. marc1om
    Member
    Posted 8 months ago #

    Hi Jeff,

    I can't seem to find the area to edit the Title container.

    I looked in yet-another-related-posts-plugin/options.css and my theme's CSS.

    Can you point me in the direction of what I need to change and in what file in the Editor?

    Thanks again,
    marc1om

  4. marc1om
    Member
    Posted 8 months ago #

    Jeff,

    Sorry I misread. I added the following code to my Style.CSS as you have outlined in the FAQ. I emptied the browser cache and i'm not seeing any changes.

    /* Reduces the title font size and displays more than two title lines */
    .yarpp-thumbnail {height: 400px !important;}
    .yarpp-thumbnail-title {font-size:0.4em !important; max-height: 2em !important

    /* Centers the thumbnail section */
    .yarpp-related-widget {text-align:center !important;

    }

    I changed all the numerical values to half of the original to try to test what I was working with. Unfortunately, no changes were noticed.

    Can you please advise.
    Thanks again
    marc1om

  5. jeffparker
    Member
    Plugin Author

    Posted 8 months ago #

    Can you provide a link to your site? To test the CSS, I would change to double the values to make sure you see a change, not half the value, because that would be overridden by the default CSS.

  6. marc1om
    Member
    Posted 8 months ago #

    Jeff,

    I changed to double and no change.

    Please see: http://bit.ly/19Avz4T

  7. jeffparker
    Member
    Plugin Author

    Posted 8 months ago #

    I don't see your changes in the CSS for that page. Your theme seems to be using a cssLoader.php file. You might need to add the edited CSS to that file.

  8. marc1om
    Member
    Posted 8 months ago #

    Jeff,

    Great observation! I added the code into the CSS loader and noticed the changes.

    One last thing. I noticed when making all the edits, it will never add more then 2 lines of text. Where do I edit that?

  9. jeffparker
    Member
    Plugin Author

    Posted 8 months ago #

    I still don't see your new CSS. The CSS example in the FAQ should reveal more than two lines of the title.

  10. marc1om
    Member
    Posted 8 months ago #

    Sorry. Please check now.

  11. jeffparker
    Member
    Plugin Author

    Posted 8 months ago #

    I see it now. You have an extra semicolon before a curly brace:

    ;}

    And you are missing a curly brace at the end of:

    .yarpp-thumbnail-title {font-size:1.6em !important; max-height: 8em !important

    Please fix those and try again. Thanks.

  12. marc1om
    Member
    Posted 8 months ago #

    Awesome. Thanks for the amazing support!

  13. jeffparker
    Member
    Plugin Author

    Posted 8 months ago #

    Great! Glad it's working for you.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.