WordPress.org

Support

Support » Themes and Templates » [Resolved] Use rectangle thumbnails instead of square

[Resolved] Use rectangle thumbnails instead of square

  • For the life of me, I cannot find the option to turn the thumbnails into rectangle. everything’s in square thumbnail. my site’s at calvinshub.com. help please? thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • In functions.php you will find:

    // Thumbnail sizes
    add_image_size( 'thumb-small', 160, 160, true );

    Change the second 160px value to decrease the height, and make it a rectangle.

    You’d copy over the whole

    function alx_setup() {
    
    }

    Section to a child theme, and then modify that single line in it.

    And then, regenerate thumbnails.

    but will this change everything into rectangle? i want it to be like in your demo. on the left it’s square, on the right it’s rectangle.

    Oh, the rectangle image posts comes from the AlxPosts widget, not the AlxTabs one.

    oh that did it. sorry my bad.

    Thanks for this awesome theme man and for answering questions! keep it up and have a good day!

    Cheers – have a great day you too, and a fantastic 2014!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Use rectangle thumbnails instead of square’ is closed to new replies.