how to get rid of top-margin in groupblock header
-
Hi Anders,
I am using your theme and love the fastness and the simplicity of changing styles to my liking! The only trouble I have is with the header and footer margins. I would rather have no top or bottom margins. For some reason I cannot get it to work.
right now apparently there is a general rule for group blocks so that they are equipped with a top and bottom margin. var(–wp–custom–spacing–outer) I would rather use 0 (preferrably only for the header and footer sections.)
The editor will not let me do it. did I miss out on something?I tried this in the browser developper tools and that worked. this seems to be the style where I need to go….
.wp-block-group?{
margin-top: 0;
margin-bottom: 0;
}The page I need help with: [log in to see the link]
- The topic ‘how to get rid of top-margin in groupblock header’ is closed to new replies.