Ready to get started?Download WordPress


[closed] Changing the number of Featured Images in Rows (7 posts)

  1. SpannerHench
    Posted 1 year ago #

    I'm having the hardest time changing the number of Featured Images (thus posts) per row on the home page. I've poured through the css stylesheet and home.php but am at a lost. It displays in rows of 4. I have 6 posts I need displayed. I'd settle on center aligning if I could, but I haven't got that working. If anyone could figure out how to change the number of images in a row to 3, so I could have 2 rows of 3, well that'd be a relief.

  2. Good Guy
    Posted 1 year ago #

    Site address is very useful here otherwise we'll be dealing with hypotheticals.

    Good luck.

  3. SpannerHench
    Posted 1 year ago #

    Sanhoyillustrations.com, thanks for the quick reply.

  4. SpannerHench
    Posted 1 year ago #

    Two ways to fix this, by setting the string <?php if ( ( $counter % 4 ) == 0 ) { ?> to <?php if ( ( $counter % 3 ) == 3 ) { ?>

    or by changing the .hentry width in your stylesheet to be larger, in my case 30%. It's default value of 23.2409blahblahblah is why 4 of them was the limit on a row.

  5. karenshotz
    Posted 1 year ago #

    I attempted to do the above and it did not work. I would like to have 3 images per row. Do you have any ideas?
    site is:

  6. lyndsay-mcneill
    Posted 1 year ago #

    I need some help with this, I had 3 coloumns and changed back to 4. Now all of my featured images are left aligned. Please provide direction. Thanks :)


  7. Andrew Nevins
    Spam zapper & Volunteer Moderator
    Posted 1 year ago #

    It's best to start your own threads for your own issues.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.