- This topic has 20 replies, 4 voices, and was last updated 3 years, 3 months ago by
Ying.
-
AuthorPosts
-
March 6, 2023 at 2:14 pm #2557985
_blank
Vertical spaces not present between images on live site despite being present on editor on ‘genres’ section of mrbeats.io.
The spaces were visible previously, but no longer, and I have made no edits.
March 6, 2023 at 5:44 pm #2558097Fernando Customer Support
Hi Peak,
You’re using a WordPress Block for that section. There was an update in WordPress that removed some default stylings.
What we recommend is to use a GenerateBlocks Grid Block to prevent this from happening. Reference: https://docs.generateblocks.com/article/grid-overview/
You can also try adding this through Appearance > Customize > Additional CSS:
.is-layout-flex.wp-container-12.wp-block-columns .is-layout-flow.wp-block-column .wp-block-image { margin-bottom: 10px; }March 7, 2023 at 4:40 am #2558582_blank
Same problem with GB Grid Block. When you select 3 column grid block the horizontal spacing is fine, but when you add another 3 columns below those, there is no vertical spacing, despite vertical gap being set, and visible, in the editor.
Is it not possible to create multi-line grids straight away? E.g. insert a 3 x 3 grid?
If not please advise how to solve the spacing issue here without extra code as it should be achievable by default.
Thanks.
March 7, 2023 at 7:01 am #2558738David
StaffCustomer SupportHi there,
don’t use multiple grids.
If you continue to add 33% wide grid item containers to a single grid, then it will automatically add new rows for you.See here for duplicating in the grid to add more grid items:
March 7, 2023 at 12:02 pm #2559248_blank
This didn’t solve the spacing issue; items still sitting flush on top of each other. Thanks.
March 7, 2023 at 12:14 pm #2559262Ying
StaffCustomer SupportThis didn’t solve the spacing issue; items still sitting flush on top of each other. Thanks.
Are all the containers within the same Grid?
If so, have you set a vertical gap for the Grid?
Can you share a link to the section where we can see the Grid?
March 7, 2023 at 12:26 pm #2559271_blank
– yes
– yes, top and bottom padding
– added in privateMarch 7, 2023 at 12:53 pm #2559305Ying
StaffCustomer SupportCan you provide the login link as well?
March 7, 2023 at 1:51 pm #2559352_blank
done, thanks
March 7, 2023 at 2:54 pm #2559394Ying
StaffCustomer SupportOh you are still using the columns block which is a WP block, we have no control over it.
Can you try using the Grid block of GenerateBlocks?
I noticed that you created the Column use a structure like this:
- column 1 -- image -- image -- image -- image - column 2 -- image -- image -- image -- image - column 3 -- image -- image -- image -- imageI would recommend using 1 single Grid for your layout if you switch to GB’s Grid block.
- Grid -- container --- image -- container --- image -- container --- image -- container --- imageI’ve shot a small clip for your reference:
https://www.screencast.com/t/qXo2DU1OE60zMarch 8, 2023 at 6:12 am #2559986_blank
I am using Grid block of GenerateBlocks. Maybe you are viewing the bottom ‘genres’ section instead of the top one?
I think I have followed your instructions but still no vertical spacing. (I don’t know how to show ‘list view’ as you have on the left sidebar though.)
If I am getting it wrong please screencast step by step instructions from scratch.
Many thanks
March 8, 2023 at 6:18 am #2559990_blank
Just occurred to me that I have been working on draft so you probably didn’t see my work at all! I’ve created a draft copy of the page so you can see my work on the top ‘genres’ section.
March 8, 2023 at 8:05 am #2560284David
StaffCustomer SupportI hope you don’t mind, but on that page i copied your grid to the top of the page, and changed it to the correct layout.
March 9, 2023 at 5:48 am #2561426_blank
Thanks but this doesn’t show me how to do it. Can you kindly provide step-by-step instructions so I can do this myself (saves having to ask you each time!) thanks
March 9, 2023 at 6:44 am #2561483David
StaffCustomer SupportOk, if thats what you wanted then do the following:
1. Add a Grid Block, in:
Choose how many Containers to start with.select 1 container.
2. Set the Grid Blocks Vertical and Horizontal spacing.
3. Select the single grid item Container and set its width to 33%
4. Make any style changes to the container, and add whatever blocks you need inside.
5. With that Container still selected in the Blocks Toolbar click Duplicate Grid Item – see here:https://docs.generateblocks.com/article/grid-overview/#duplicate-grid-item
Click that as many times as you need eg. 8 times.
-
AuthorPosts
- You must be logged in to reply to this topic.