Archived topic
Margin from hero
12 replies · Started by Anders Nielsen on September 29, 2022
Hi there
I have this ekstra margin from an "element" – how to remove it?
Hi there,
I don't see the element on the link you provide, can you activate the element so I can take a look?
The element looks like a page hero, is it?
If so, why not use after_header hook? let me know!
I see it...
.page-header, .sidebar .widget, .site-main>* {
margin-bottom: 20px;
}
Is for some reason inserted?
But why?
Is it a bug?
That's intended as part of the theme style.
Why add a 20px margin?
It a hero banner in a container, and below there is a new container?
If it's a hero, it should be hooked to the after_header hook, not in the content area.
ok, but it makes no sense at all. So you can only have one container in the blocks/elements – strange!
Let me know if your issue is fixed :)
It did not :(
WP rocket and generatepress in combination does not support category-pages.
Have you changed the element hook toafter_header?
WP rocket and generatepress in combination does not support category-pages.
I don't understand what's this to do with the topic, can you explain?
Have you changed the element hook toafter_header?
Yes, same issue.
That doesn't sound right, can you publish the element so I can have a look?