Archived topic
Header issue with blocks
6 replies · Started by Daniel on April 30, 2019
I'm having an issue where when I create a page with the h1 disabled and I am using blocks.
The navigation header is not cleared by my first block.
If I enable the h1, my navigation is cleared.
Any ideas?
Hi there,
can you provide us a link to a page where the problem exists?
You can edit your original topic and use the Site URL field to share the link privately.
Temporary link attached
I'm developing locally, so it's the best I could do
I'm using fullwidth page by the way
So the align wide setting in Gutenberg negates the container padding, which includes the top padding, only applies this on the first block. Something we probably need to address at the Theme level to overcome that
To get around that for now add this CSS:
.entry-content > .alignwide:first-child, .entry-content > .alignfull:first-child {
margin-top: 0 !important;
}
Thanks for your swift response.
If we could please have this looked at for a future release, that would be most appreciated
You're welcome