Help with aligning featured images in Blog Loop

[ad_1]

https://preview.redd.it/dgelq1lj5erd1.png?width=1696&format=png&auto=webp&s=34a32b1fce2a05e6207978eb91dcd4ff5eecfb3f

https://preview.redd.it/toqjt0lj5erd1.png?width=1696&format=png&auto=webp&s=e7ebf17de3c09dab26c8bdacdf8b067849045572

https://preview.redd.it/ftteb1lj5erd1.png?width=704&format=png&auto=webp&s=fee2362d10bbd5047260543aa666ab40dc649fc5

Hi, I'm new(ly back) to the wordpress game after abandoning my last blog about a decade ago. I'm using WordPress to create a professional site, portfolio and blog, and I'm having some trouble configuring my posts page.

First of all, I created a posts page, but it seems to be overridden by what's set up in the template.

Now that I'm editing in the right place, I'm having an issue where I'd like all my posts to line up nicely in a grid, but I can't do that due to not every post having a featured image. I got it to work in the preview by adding a defined height, but it looks like when the page is ACTUALLY viewed, the image block just gets ignored if there isn't one.

Does anybody have any tips on getting the items in my blog to line up nicely regardless of whether I have a featured image? Thanks in advance for anyone willing to lend a hand!

[ad_2]
1 Comment
  1. If a featured image isn’t set, then the featured image block itself isn’t used on the front end. It doesn’t show the placeholder like it does on the editor screen, I think that’s just reference for sizing while you’re setting up the block.

    What you could do for visual consistency is add a default image if there’s no featured image set. It looks like there’s a few plugins that do this if you search. That way you can add your own placeholder, even just a white square to fill in the space, if that’s what you prefer.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer