This is a problem with css from the class .wp-elements
Is this a plugin, if yes can you deactivate it?
If not then we can also fix this problem with css:
.wp-site-blocks {
padding: 0 !important;
}
.wp-container-8 {
top: 0 !important;
}
header.wp-block-template-part > div:nth-child(1){
margin-top: 0 !important;
}
I don’t have any plugins that should be affecting the site CSS. I’m using the base 2023 WordPress block theme. I assume it has to be something in the settings within the template, but I can’t figure out which settings those might be. I don’t see any spacer blocks in there either.
Hi @oscarguy
plz admin side check this class “wp-block-group” CSS spacing issue
.wp-block-group {
margin-top: var(–wp–preset–spacing–50);
margin-bottom: var(–wp–preset–spacing–70);
}
-
This reply was modified 2 years, 12 months ago by
Vishal Patel.
-
This reply was modified 2 years, 12 months ago by
Vishal Patel.
Are you saying I need to add that code or remove that code? I didn’t add anything like that and I have set the margins in the block edit for that group to 0, so I’m not quite sure what you want me to do.