- This topic has 23 replies, 4 voices, and was last updated 3 years, 1 month ago by
David.
-
AuthorPosts
-
July 15, 2022 at 4:17 pm #2284011
Chintan
Hi
I want the “Guides & Resources” section on my homepage (link and screenshot shared in private info) to look close to a similar section on another website (again link and screenshot shared). Can you please tell me if this is possible without the use of a plugin besides GenerateBlocks and GeneratePress?
July 15, 2022 at 6:27 pm #2284049Ying
StaffCustomer SupportHi Chintan,
It’s totally doable with GB, but you need to get familiar with GB’s blocks first.
Here’re the documents for GB’s block:
Container block: https://docs.generateblocks.com/article/container-overview/
Headline block: https://docs.generateblocks.com/article/headline-overview/
Grid block: https://docs.generateblocks.com/article/grid-overview/
Image block: https://docs.generateblocks.com/article/image-overview/
Buttons block: https://docs.generateblocks.com/article/buttons-overview/A quick guide on the blocks you should be using:
https://www.screencast.com/t/xLw9qy6u66fxJuly 16, 2022 at 4:07 pm #2284803Chintan
Thanks much, Ying!
So I managed to add the elements as you suggested in the screencast. It looks all over the place right now.
1. I guess majorly because of the images being of different sizes?
2. Also should I add the two grids inside a container because right now they seem out of place on the page.
Additionally I want the border defined by the image (in the background) just like the example I shared. And the list of blog posts demarcated by a line and clickable on a scroll — again like the example. Will I need to use CSS for this?
Grateful for the help 🙂
July 17, 2022 at 7:02 pm #2285572Fernando Customer Support
Hi Chintan,
You’re currently using a WP Image Block, and the Images are aligned left which make is float left.
Try using a GB Image Block instead. You can set a specific image size there as well.
Align the image to center.
Align the Container Blocks within the Grid to center as well.
With regards to the borders, you can add borders through GB Blocks. Try adding bottom border size in the spacing section of your GB Blocks.
Hope this clarifies!
July 18, 2022 at 4:03 pm #2286751Chintan
Hi Fernando,
Tried doing everything you said and things seem to have improved. But not completely in shape…What am I missing?
July 18, 2022 at 4:23 pm #2286760Ying
StaffCustomer SupportI’m still seeing the images are output by WP image block, not GB image block, if you’ve changed them, can you make sure the cache is cleared?
July 20, 2022 at 3:46 am #2288250Chintan
Okay I am not sure what’s the difference between WP Image block and GB. I tried searching for a visual difference and documentation but can’t find it. Can you please share their difference and how can I distinguish between them?
July 20, 2022 at 4:29 am #2288296David
StaffCustomer SupportHi there,
see here:
https://docs.generateblocks.com/article/image-overview/
For assistance when you Add new Block, theres an option to browse all, you will see the GB blocks under its own heading.
July 20, 2022 at 4:51 am #2288311Chintan
Thanks much David. So I am actually already using this block after your prompt, and I now cleared the cache. Can you please visit the page again and tell me if all’s good 🙂 And the next steps for me to come closer to the layout I mentioned!
July 20, 2022 at 10:05 am #2288760Ying
StaffCustomer SupportSet the image width to 100%, height to 300px, and object fill to cover.
July 21, 2022 at 10:41 pm #2290236Chintan
Awesome looks so much better, thanks a lot 🙂 How can I avoid the grids to fill the full page? Also is there a way to separate every line under every container with a grey line and make the line clickable?
July 21, 2022 at 11:05 pm #2290254Fernando Customer Support
Hi Chintin,
You can do so by placing the Grid Block within a GB Container Block. Then, set the Container Block to contained width. Example: https://share.getcloudapp.com/12uLlXZZ
Reference: https://docs.generateblocks.com/article/container-overview/#layout-%E2%80%93-standalone-block
Hope this clarifies!
July 22, 2022 at 8:03 am #2290761Chintan
Thanks a ton, Fernando. I managed to do that. There are three more changes I would like. I have shared those in the screenshot.
1. Some spacing between the two sections. Should I change individual container widths for this?
2. Grey border lines for every headline element. I can’t find the option to add borders here.
3. Make the whole horizontal line on every item clickable on a scroll.July 22, 2022 at 10:12 am #2290857Ying
StaffCustomer Support1. The vertical space can be set by selecting the Grid block and entering a value for its horizontal gap.
2. There’s a border option under the spacing tab of the headline block, the border color can be defined under color tab > border.
3. Not sure I understand this question, can you explain what it means by
on a scroll
?July 22, 2022 at 10:46 am #2290876Chintan
Hi Ying,
Thank you so so much! For the last one, I mean is there a way to make a whole horizontal line (or a container or a headline/another GP element) clickable on a scroll to that specific section…Does that make sense?
-
AuthorPosts
- You must be logged in to reply to this topic.