Remove default bottom margin on row layouts
-
Hello, when adding a new row layout block, it gets a bottom margin connected with a unique class, eg:
.kb-row-layout-wrap.wp-block-kadence-rowlayout.kb-row-layout-id330_c84f64-98 {
margin-bottom: 0px;
}I would like to remove this automatic bottom-margins, so that I can set a generic 70px bottom margin to all row layout blocks, but still be able to override these settings for a block in the admin.
If I define the following in my stylesheet:.kb-row-layout-wrap.wp-block-kadence-rowlayout {
margin-bottom: 70px;
}it doesn’t override the ID-specfic code above, that gets added automatically. If I write:
.kb-row-layout-wrap.wp-block-kadence-rowlayout {
margin-bottom: 70px !important;
}it overrides the ID-specific element above, but then I can no longer override this value by selecting a bottom margin for a row layout in the admin.
I don’t understand why all row layouts get a bottom-margin by default and how I can flexibly get rid of it?
You must be logged in to reply to this topic.