Support » Theme: Portfolio Press » Main Page Thumbnail size

  • Resolved KarenB88

    (@karenb88)


    I’m using Portfolio Press as my Animation/Game art portfolio, and I really like it.

    However, rather than have the square-grid thumbails on the front page, I’d much rather have my thumbnails wide and stacked from top to bottom.

    I’ve achieved this by fiddling some with the codes, but now I’ve run into a problem. I’ve managed to widen and stack my thumbnails as I wanted, but the height is too large, and the images I’ve used are cropped, with a large of part of them having turned black, as seen here: http://www.karenbennetzen.com

    Any way to fix this? I feel like I’ve come really close to achieving what I want, but my knowledge of website coding is minimal, and I’m not sure how to get to this last step.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Update: I’ve managed to resize the thumbs so they fit the width and height I want – yay!

    But I still got the black bar and cropping problem. Anyone know how to fix that?

    Also, this is the code I’ve been fiddling with, in the functions.php, and with my corrections:

    // Add images sizes for the various thumbnails
    add_image_size( ‘portfolio-thumbnail’, 300, 175, true );
    add_image_size( ‘portfolio-thumbnail-fullwidth’, 300, 175, true );

    Update 02: I’ve made some changes to the site so it doesn’t serve as an example anymore. I think I’m gonna just make a new homepage from scratch, with my own thumbnails. Seems easier at this point. 🙂

    Theme Author Devin Price

    (@downstairsdev)

    After you create new thumbnail sizes, make sure to regenerate your thumbnails:
    wordpress.org/plugins/regenerate-thumbnails/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Main Page Thumbnail size’ is closed to new replies.