Site logo

Archived topic

Archive of entries photo dimensions

1 reply · Started by Tomasz on April 16, 2022

Viewing posts 1–2 of 2

I can't set the size of the photos correctly.
In the blog archive, the photos are slightly truncated. I want them to be shown in full.

Hi there,

that is really tricky to do, as you have the featured image as a background, which means the original images aspect ratio changes depending on the size of the container which changes depending on the length of the title, expert post meta etc.

The most I can suggest is this:

1. Disable the Masonry option of the blog.

2. Add this CSS to force them all have the same aspect ratio:

.generate-columns-container article > .gb-container > .gb-inside-container {
    aspect-ratio: 1170 / 720;
}

This assumes all images are the same aspect ratio, and I am not sure if this will work.

This archived topic is closed to new replies.