Archived topic
media size
5 replies · Started by Marjorie on September 8, 2021
Hello, I'm trying to create a grid with images and videos, but the sizes are not coming out properly. Please scroll to the bottom of https://marjorieduncan.com/online-business-ideas/ and tell me how to get the video and images to take up the full grid space.
At the bottom of https://marjorieduncan.com/ I only want three posts to be displayed but it's showing 4. I have checked the column and post setting but it's still the same, how do I fix it.
Hi Marjorie,
Not sure I understand your question well, is it what you are trying to achieve?
https://www.screencast.com/t/4CsLvvwb
In this way the image and video lose their aspect ratio.
I would recommend to use a shorter image for the first grid column.
For your second question, go to dashboard > WP show posts, find the post list, and change Posts per page to 3.
Let me know :)
Yes your screenshot is exactly what I am trying to achieve. The post per page is set to 3 but it's still coming out like that
Then try this CSS:
.gb-container.gb-container-e33fc395 video, .gb-container.gb-container-1da9a791 img {
height: 301.8px;
}
For the WP show post list, there's only 1 article left, have you changed the posts per page to 1?
https://www.screencast.com/t/TPbDzbFgO
If so, then the setting works. Just need to change it to 3.
And make sure you clear cache after changes are made :)
Thank you
You are welcome :)