Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #255100

    Can i add some code to the Quick CSS to get all related post thumbnails to display the same size?

    As you can see at the bottom of this post they are all different.
    http://howdoidate.com/dating/men-usually-prefer-butterface-women-for-brief-sexual-liaisons/

    Thanks

    Derek

    #255322

    Hey Derek!

    Refer to Devin response:
    https://kriesi.at/support/topic/size-of-related-posts-images/#post-137382

    Regards,
    Josue

    #255366

    Hello Josue,

    Don’t see how Devin’s response answers my question. I would simply like to know the Quick CSS to make the related post image sizes all the same size.

    #255578

    Hey!

    Thank you for the update.

    The related post or You might also like section post items use the same image size. They should be aligned correctly. You can set a min and max height on the thumbnails if you want:

    div.related_entries_container .related_column {
    max-height: 101px;
    min-height: 101px;
    }

    Cheers!
    Ismael

    #255645

    Ismael, thank you but I just used a plugin to recreate/regenerate the thumbnails and that did the trick although I would prefer to make them all 120×80 since all my feautured images are landscape. Any idea how I can make all the related post images 120×80?

    Thanks

    Derek

    #255695

    Hey Derek!

    You can try this in your functions.php to change the thumbnail size:

            add_action('avia_backend_theme_activation', 'avia_set_thumb_size');
    	function avia_set_thumb_size()
    	{
    		update_option( 'thumbnail_size_h', 80 ); update_option( 'thumbnail_size_w', 120 );
    	}

    You’d need to regenerate the thumbnails after.

    Regards,
    Josue

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.