- This topic has 20 replies, 4 voices, and was last updated 1 year, 8 months ago by Fernando.
-
AuthorPosts
-
August 8, 2022 at 10:54 pm #2307460Nikul
Hello Guys,
I want to create a custom homepage similar to this design – https://newsblocktheme.com/mix/. It is a block based design created using Canvas page builder of CodeSupplyco.
Can we do similar design in Generatepress.
It would be great if you guys can help.
Thanks
August 8, 2022 at 11:01 pm #2307462Fernando Customer SupportHi Nikul,
Yes, you can with the help of GenerateBlocks plugin.
You can learn about GenerateBlocks plugin here: https://www.youtube.com/c/GenerateBlocks and here: https://docs.generateblocks.com/
GenerateBlocks also has a Query loop block which should allow you to create the sections wherein posts are queried.
August 8, 2022 at 11:24 pm #2307470NikulDo I need to use paid Generateblocks plugin for this?
August 8, 2022 at 11:36 pm #2307476Fernando Customer SupportNo need, for the design. However, for the first post, the one with the image of a girl, you would need GB Pro to make an entire Container a link. In the free version, you can only make images, headlines, and buttons links.
August 9, 2022 at 6:06 am #2307763NikulI just started using Generateblocks Pro and have created layout as discussed. But now I have one query, in one container I have taken two grids and now I want to the right side grid sticky on scrolling.
Can you help me to do that please?
One more thing, can I use Infinite scrolling with generateblocks instead of number scrolling? If yes, then please guide me to use that.
Hoping for the solution.
Thanks
August 9, 2022 at 6:23 am #2307783DavidStaffCustomer SupportHi there,
can you share a link to your site where i can see this ?
Infinite Scroll for GenerateBlocks Pro is not an option. It s is a feature we look to add in the future.
August 9, 2022 at 7:17 am #2307840NikulHello David, this is the website I am talking about – https://hoursinformer.com/
I want to have the ad section sticky in the right side under Latest Posts.
Do let me know what I can do to make this section sticky while scrolling.
August 9, 2022 at 7:48 am #2307876August 9, 2022 at 8:36 am #2308074NikulNope, check hoursinformer.com now.
I am talking about this section which needs to be sticky-
August 9, 2022 at 9:21 am #2308106NikulSorry for the confusion…
I have just switched the homepage and now it has one block elements right below the header followed by generatepress default latest posts layout.
The problem is, when I click on infinite scroll button it loads next posts right below the element block above it and it looks very odd. It should load next posts normally.
Try doing at your end and you will get the idea what I am talking about.
August 9, 2022 at 9:22 am #2308108YingStaffCustomer SupportHi there,
I’m seeing what David was seeing, I don’t see the section you took the screenshot with.
Is there any cache needs to be flushed?
August 9, 2022 at 9:27 am #2308117NikulHey Ying,
I have just switched the layout.
Now, the homepage at hoursinformer.com has one elements block right below the header followed by generatepress default latest posts layout with sidebar.
The problem is, when I click on infinite scroll button it loads next posts right below the element block above it and it looks very odd. It should load next posts normally.
Try doing at your end and you will get the idea what I am talking about.
help me with this new issue.
Thanks
August 9, 2022 at 9:54 am #2308128YingStaffCustomer SupportI see what you mean, hum.. it looks like a bug to me, we’ll need to do some more testing on this.
Thanks for letting us know, will get back to you soon 🙂
August 9, 2022 at 9:58 am #2308129NikulYeah sure,
Hope it will be fixed soon. Do let me know when you guys have solution to it so that I can apply to my site.
August 9, 2022 at 3:26 pm #2308309YingStaffCustomer SupportThis bug will be fixed in next update.
For now, can you try this PHP snippet?
add_filter( 'post_class', function( $classes ) { $infinite_scroll_item_index = array_search( 'infinite-scroll-item', $classes ); if ( in_array( 'gb-query-loop-item', $classes ) && $infinite_scroll_item_index !== false ) { unset( $classes[ $infinite_scroll_item_index ] ); } return $classes; } );
-
AuthorPosts
- You must be logged in to reply to this topic.