- This topic has 15 replies, 4 voices, and was last updated 5 months, 3 weeks ago by
Ying.
-
AuthorPosts
-
October 9, 2022 at 5:28 am #2367662
eran
Hi,
How can I make a query loop that 25% of the width will be the posts image and the rest of the 75% will be the post title + excerpt?October 9, 2022 at 6:12 am #2367715David
StaffCustomer SupportHi there,
create a Query Loop with an empty template.
Then add a 2 column Grid Block inside it, set the first column to 25% and add your Image Block inside, then set the other column to 75% and fill it with the title and excerpt.Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 9, 2022 at 7:56 am #2367920eran
Sorry, I struggle with it a little bit.
This is what I get so far :
https://imghostr.com/61b65e_1hfThe post excerpt I use as a headline, but I don’t see any content.
Plus, I don’t see any featured images in the left column.October 9, 2022 at 6:16 pm #2368217Fernando Customer Support
Hi Eran,
Have you enabled the Dynamic data for the Image Block? See: https://docs.generateblocks.com/article/image-overview/#dynamic-data
As for the excerpt, can you take a screenshot of the dynamic data settings of that Block as well?
October 10, 2022 at 12:11 am #2368375eran
I add the excerpt settings:
https://imghostr.com/4cc6cb_a4kPlus, how can I add a gap between the left query loop to the right query loop?
October 10, 2022 at 1:14 am #2368418Fernando Customer Support
Hi Eran,
You can add gaps through the Grid Block settings. Reference: https://docs.generateblocks.com/article/grid-overview/#layout
As for the excerpt, can you share the link where this Query Loop is displayed so we can view it?
October 10, 2022 at 1:18 am #2368420eran
I have only vertical gap in grid :
https://imghostr.com/e77c14_5b0October 10, 2022 at 1:56 am #2368469Fernando Customer Support
You have a single column Query Loop. Is the Vertical Gap not working?
Can you try recreating the Headline Block for the excerpt to test?
October 10, 2022 at 2:16 am #2368485eran
I did, Still, the excerpt doesn’t work.
October 10, 2022 at 8:06 am #2368922David
StaffCustomer SupportEach of the Columns is its own Container Block. You can add Spacing > Padding to those blocks to create space around / between content
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 10, 2022 at 8:10 am #2368926eran
Why I can’t see the excerpt in the editor?
Plus, how can I delete the three dots from the excerpt?October 10, 2022 at 5:37 pm #2369332Fernando Customer Support
In Appearance > Customize > Layout > Blog > Content, what’s the value of your Excerpt Word Count?
As for the 3 dots, are you planning to add a “read more” button/link?
October 10, 2022 at 8:00 pm #2369381eran
“In Appearance > Customize > Layout > Blog > Content, what’s the value of your Excerpt Word Count?” – but its for my blog, I want to add a query loop to my homepage.
“As for the 3 dots, are you planning to add a “read more” button/link?” – No
October 10, 2022 at 8:57 pm #2369416Fernando Customer Support
The excerpt length in the editor is the one set in the customizer, but it’s overridden by your Block Setting for the excerpt length in the Headline.
To remove the
...
Try enabling “Use default more link”Then add this in Appearance > Customize > Additional CSS:
.gb-query-loop-item .read-more { display: none; }
October 11, 2022 at 9:21 am #2370108eran
Didn’t work. It didn’t show the read more button but the three dots stay.
-
AuthorPosts
- You must be logged in to reply to this topic.