Archived topic
GP Premium and Gutenberg columns
3 replies · Started by Frans on November 9, 2020
I made a 2 column block in Gutenberg: left 75% and right 25%. On my iste, the left one has no margin-left, the right one 32 px. I tried to change this margin-left of the right column by adding .wp-block-column {margin-left: 0px;} in de Extra CSS. No change.
I added an addtional class in the Extra CSS and added this class (without dot) in the extra CSS field of this block (second column) in the Gutenberg editor. No change. The margin-left of 32px remains.
How can I change this left margin ?
Thanks !
Frans
WP 5.5.3
GP Premium 1.12.2
Hi there,
I would recommend using the Grid and Container blocks from GenerateBlocks:
https://docs.generateblocks.com/article/grid-overview/
https://docs.generateblocks.com/article/container-overview/
This should allow you to have full control over the column without any CSS.
Thanks ! This is a beautiful plugin and solves my problems !
Frans
No problem :)