- This topic has 12 replies, 5 voices, and was last updated 3 years, 4 months ago by
Ying.
-
AuthorPosts
-
December 12, 2022 at 6:57 am #2458976
RYAN
How can I set this page to have pictures like the homepage
December 12, 2022 at 8:13 am #2459199David
StaffCustomer SupportHi there,
what posts do you want to display on that page ? Is it a Category ?
December 12, 2022 at 10:45 am #2459454Leo
StaffCustomer SupportSorry Ryan can you re-enter your last reply again
I might have accidentally deleted it while trying to reply to it.
Thank you 🙂
December 12, 2022 at 6:39 pm #2459767RYAN
Even the articles on this page are like the articles on the home page. Each article has a picture in front of it. How can I set it?
December 12, 2022 at 8:10 pm #2459824Fernando Customer Support
Hi Ryan,
I can see you’re using a GB Query Loop Block for that page.
You can utilize a GB Grid Block to structure your Query Loop and to add the Image on the left side. Reference: https://docs.generateblocks.com/article/grid-overview/
Moreover, you can use a GB Image Block to retrieve it. Reference: https://docs.generateblocks.com/article/image-overview/#dynamic-data
Set the data source to Current Post, and the data type to Featured Image.
Example structure: https://share.getcloudapp.com/P8uNeLen
Example video: https://share.getcloudapp.com/z8ul8K8WDecember 12, 2022 at 9:08 pm #2459853RYAN
I set it, but there is a problem that the width and height of the picture are not uniform. I tried to adjust the mode myself, and it doesn't seem to be right. How Do I set this specifically, also like the home page of the same picture width and height size to maintain consistency, eh, below the check the image is what I want the effect
December 12, 2022 at 10:45 pm #2459922Fernando Customer Support
To clarify, have you set the image width and height through the Image Block settings? Reference: https://docs.generateblocks.com/article/image-overview/#settings
If not, can you set it first? You can test the Object-fit as well. Try setting it to Cover for instance.
Let us know how it goes.
December 12, 2022 at 11:26 pm #2459954RYAN
Why am I setting up 200×130 and saving the release, and why is it 175.52X130? Then the picture will look completely different from the size of the home page,
December 13, 2022 at 12:04 am #2459976Fernando Customer Support
I see. You can try adding this CSS through Appearance > Customize > Additional CSS:
@media (min-width: 769px) { .page-id-141 .content-area .gb-grid-wrapper-45f5838b > .gb-grid-column .gb-grid-wrapper { flex-wrap: nowrap; } .page-id-141 .content-area .gb-grid-wrapper-45f5838b > .gb-grid-column .gb-grid-wrapper > .gb-grid-column:first-of-type { width: fit-content; } .page-id-141 .content-area .gb-grid-wrapper-45f5838b > .gb-grid-column .gb-grid-wrapper > .gb-grid-column:last-of-type { flex-grow: 1; width: unset; } }In the next update, ideally, you’ll be able to do a setup like this with no or less extra code needed.
December 13, 2022 at 1:22 am #2460062RYAN
Then how can also be like the home page, can each different post also have a gap out, the first picture is the effect I want
December 13, 2022 at 1:26 am #2460068Fernando Customer Support
Try adding bottom margin to the Post Template Block. Example: https://share.getcloudapp.com/jkuOQzGy
December 13, 2022 at 1:51 am #2460081RYAN
Can I change the color of the white space in the middle? I don’t think so. Is there any other way
December 13, 2022 at 10:13 am #2460758Ying
StaffCustomer SupportHi Ryan,
Select the Grid block, and check if there’s any value entered for the vertical gap?
If the vertical gap is not set, can you link us to the front end of the page so we can see the structure?
-
AuthorPosts
- You must be logged in to reply to this topic.