• 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

How to get home page posts aligned one on top of the other

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 › How to get home page posts aligned one on top of the other

This topic is: not resolved

Tagged: blog posts

  • This topic has 11 replies, 2 voices, and was last updated 12 years, 8 months ago by Fabio.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • June 15, 2013 at 3:19 am #46031
    Fabio
    Participant

    Hi there!

    So basically I want my home page latest posts to look like these ones:

    http://www.hongkiat.com/blog/

    one on top of the other!

    Now instead I have one big post and then two small underneath the big one and next to each other

    http://letstalksex.net/

    Hope it's clear... sometimes my english is not the best!

    🙂

    Thanks!

     

    http://letstalksex.net
    June 15, 2013 at 4:47 am #46039
    Brad Dalton
    Participant

    What you need to do is change the settings in your home.php file:

    'features' => 10,
    			'feature_image_size' => 0,
    			'feature_image_class' => 'alignleft post-image',
    			'feature_content_limit' => 200,
    

    features - set this to the amount of posts you want to display on your home page. Example 10
    feature_content_limit - set this to a content limit which aligns with your featured image. Example 200

    Feature posts will display full content width.

    Grid posts will display side by side in 2 columns.

    Do not use the settings for the grid loop or your posts will be displayed in a grid.

    'grid_image_size'		=> 'grid-thumbnail',
    			'grid_image_class'		=> 'alignnone',
    			'grid_content_limit' => 0,
    

    Tutorials for StudioPress Themes.

    June 15, 2013 at 5:04 am #46040
    Fabio
    Participant

    Hey Brad,

    thanks for your reply!

    So basically before I destroy my theme function, could you please tell me where to paste those lines of code?

    What I understood from your reply is that I need to find where this is:

    'grid_image_size'       => 'grid-thumbnail',
                'grid_image_class'      => 'alignnone',
                'grid_content_limit' => 0,

    delete it and substitute it with this:

    'features' => 10,
                'feature_image_size' => 0,
                'feature_image_class' => 'alignleft post-image',
                'feature_content_limit' => 200,

    is that correct?
    Thanks!

    June 15, 2013 at 5:36 am #46046
    Brad Dalton
    Participant

    Simply change the values in your home.php file to match the first code snippet http://www.studiopress.community/topic/how-to-get-home-page-posts-aligned-one-on-top-of-the-other/#post-46039

    No need to do anything with the other code.

    No pasting needed.


    Tutorials for StudioPress Themes.

    June 15, 2013 at 6:07 am #46049
    Fabio
    Participant

    Hey Brad,

    thanks.

    I've tried but I lose the paragraphs....

    is there any way I can keep the paragraph? Otherwise it looks like a sea of words..

    Thanks!

    June 15, 2013 at 7:14 am #46064
    Brad Dalton
    Participant

    Change the Genesis > Theme Settings > Content Archives to the thumbnail size and use the content limit in your home.php file to set the best limit so the content only aligns with your thumbnail.

    It will strip out HTML formatting so you will lose your paragraphs which is why i suggest you keep it to a smallest content limit.


    Tutorials for StudioPress Themes.

    June 15, 2013 at 7:23 am #46065
    Fabio
    Participant

    So basically there's no way I can keep the formatting?

    June 15, 2013 at 7:34 am #46068
    Brad Dalton
    Participant

    Not that i know of. You could use large featured images and a small amount of text.


    Tutorials for StudioPress Themes.

    June 15, 2013 at 7:35 am #46069
    Fabio
    Participant

    Such a shame...

    Thanks anyways for your help!

    June 15, 2013 at 8:20 am #46079
    Fabio
    Participant

    How about the "Advanced Excerpt" plugin?

    Is that going to work?

    Advanced Excerpt

    June 15, 2013 at 10:01 am #46102
    Brad Dalton
    Participant

    Never used it but it looks like you have the option of keeping the HTML markup in the excerpt.


    Tutorials for StudioPress Themes.

    June 16, 2013 at 2:17 am #46224
    Fabio
    Participant

    Hey thanks Brad!

    It doesn't work with the latest version of wordpress....

    I can't believe there's no solution to this 🙂 and I thought there was a solution to everything!

    Well, if anybody that reads this thread knows how to do it, please tell us!

    Thank you

  • Author
    Posts
Viewing 12 posts - 1 through 12 (of 12 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