WordPress.org

Ready to get started?Download WordPress

Forums

Hueman
[resolved] Use rectangle thumbnails instead of square (6 posts)

  1. dyords
    Member
    Posted 3 months ago #

    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!

  2. Alexander Agnarson
    Member
    Theme Author

    Posted 3 months ago #

    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.

  3. dyords
    Member
    Posted 3 months ago #

    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.

  4. Alexander Agnarson
    Member
    Theme Author

    Posted 3 months ago #

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

  5. dyords
    Member
    Posted 3 months ago #

    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!

  6. Alexander Agnarson
    Member
    Theme Author

    Posted 3 months ago #

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

Reply

You must log in to post.

About this Theme

About this Topic

Tags