WordPress.org

Ready to get started?Download WordPress

Forums

Related Posts Thumbnails
The thumbnails are showing as column (2 posts)

  1. satyaki
    Member
    Posted 1 year ago #

    The thumbnails are showing as column (one above the other).
    I need the thumbnails to show up in a line (horizontal).
    (This is also seen in the screen shot attached by you.)

    Please help me show the thumbnails in a horizontal line.

    http://wordpress.org/extend/plugins/related-posts-thumbnails/

  2. meozon
    Member
    Posted 1 year ago #

    i resolved by going directly to the code in plugin... ( not best way because of future updates but needed to resolve it )

    file: related-posts-thumbnails.php

    lines 332 and 333:

    $output .= '<div style="border: 0pt none ; margin: 0pt; padding: 0pt; width: 145px; height: 185px;">';
    $output .= '<div style="border: 0pt none ; margin: 0pt; padding: 0pt; width: 145px; height: 145px;"><img src="' . $url . '" style="width:145px !important; height:145px !important; border:0;" /></div>';

    notes:
    i use <?php get_related_posts_thumbnails(); ?> directly in the loop, for automatic posting dont know if it works.

    i display image instead it in background and forced them to especific size. you have to see how your thumbs are being generated.

    185px to give height for the text title under but u may need to ajust this value acording text size and text lenght that you define in plugin admin.

    good luck

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic