WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
NSFW Jetpack- Related Posts (2 posts)

  1. akara22
    Member
    Posted 6 months ago #

    NSFW

    I am using the related posts plug in, I am wondering if there is a way to edit the spacing between the preview posts or maybe the number and the text color/size. My site content space is small so it doesn't fit correctly. Here is an example:

    NSFW: http://akarafang.com/general-thoughts/

    https://wordpress.org/plugins/jetpack/

  2. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 5 months ago #

    Hi! I noticed some odd spacing on your Related Posts, because of the image that shows up for some. We're going to fix that in an upcoming 2.9.1 release for Jetpack, but meanwhile, if you wanted to fix it, you can edit this file:

    https://github.com/Automattic/jetpack/blob/2.9/modules/related-posts/related-posts.css#L150

    change it to this:

    div.jp-relatedposts-items-visual .jp-relatedposts-post img,
    div.jp-relatedposts-items-visual .jp-relatedposts-post span {
    	max-width: 100% !important;
    }

    Note the addition of !important at the end.

    As for your questions, through CSS you can edit whatever you want in the text size and so on. Can you specify what you're thinking, and I'll help you put together some CSS for it.

Reply

You must log in to post.

About this Plugin

About this Topic