• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Minimum Portfolio Page: Changing the size of the thumbnails and headlines

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Minimum Portfolio Page: Changing the size of the thumbnails and headlines

This topic is: not resolved

Tagged: lifestyle Pro, minimum pro, portfolio page

  • This topic has 3 replies, 3 voices, and was last updated 12 years, 5 months ago by Brad Dalton.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • November 20, 2013 at 3:23 pm #74558
    SarahatTadah
    Member

    I figured out how to change the size of the thumbnail images on the portfolio page, but not the headlines above them. Ideally, I'd like three photos across.

    Any tips?

    Thank you!

    http://www.isleluxury.com

    http://www.isleluxury.com
    November 23, 2013 at 5:15 am #75155
    Brad Dalton
    Participant

    You can change the number in this code which you'll find in your child themes functions.php file:

    //* Change the number of portfolio items to be displayed (props Bill Erickson)
    add_action( 'pre_get_posts', 'minimum_portfolio_items' );
    function minimum_portfolio_items( $query ) {
    
    	if ( $query->is_main_query() && !is_admin() && is_post_type_archive( 'portfolio' ) ) {
    		$query->set( 'posts_per_page', '6' );
    	}
    
    }
    

    Tutorials for StudioPress Themes.

    November 23, 2013 at 9:16 am #75193
    voltima
    Member

    Hi Brad:

    I followed your Portfolio Page snippet instructions for creating a Portfolio Page for the Lifestyle theme and it worked great.

    I would like to increase the size of the image that shows on the portfolio page to a full-width image and still have it link to my tiled gallery (jetpack), which it does now.

    How can I accomplish this?

    Thanks in advance...

    November 23, 2013 at 3:08 pm #75288
    Brad Dalton
    Participant

    You would need to modify the CSS and images sizes in the CSS as well as the image size in the PHP which isn't difficult but really defeats the whole purpose of use a portfolio style archive page.

    Linking any portfolio thumbnail images generated from featured images to a tiled gallery requires special code.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble