Home › Forums › Support › Margin from hero This topic has 12 replies, 2 voices, and was last updated 6 months ago by Ying. Viewing 13 posts - 1 through 13 (of 13 total) Author Posts September 29, 2022 at 7:54 am #2357832 Anders Nielsen Hi there I have this ekstra margin from an “element” – how to remove it? September 29, 2022 at 11:50 am #2358067 YingStaff Customer Support 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! September 29, 2022 at 12:23 pm #2358100 Anders Nielsen I see it… .page-header, .sidebar .widget, .site-main>* { margin-bottom: 20px; } Is for some reason inserted? September 29, 2022 at 12:24 pm #2358101 Anders Nielsen But why? Is it a bug? September 29, 2022 at 12:34 pm #2358115 YingStaff Customer Support That’s intended as part of the theme style. September 29, 2022 at 12:47 pm #2358126 Anders Nielsen Why add a 20px margin? It a hero banner in a container, and below there is a new container? September 29, 2022 at 1:08 pm #2358148 YingStaff Customer Support If it’s a hero, it should be hooked to the after_header hook, not in the content area. September 29, 2022 at 1:11 pm #2358153 Anders Nielsen ok, but it makes no sense at all. So you can only have one container in the blocks/elements – strange! September 29, 2022 at 1:14 pm #2358159 YingStaff Customer Support Let me know if your issue is fixed 🙂 September 29, 2022 at 1:20 pm #2358162 Anders Nielsen It did not 🙁 WP rocket and generatepress in combination does not support category-pages. September 29, 2022 at 1:22 pm #2358165 YingStaff Customer Support 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? September 29, 2022 at 1:28 pm #2358171 Anders Nielsen Have you changed the element hook toafter_header? Yes, same issue. September 29, 2022 at 2:23 pm #2358197 YingStaff Customer Support That doesn’t sound right, can you publish the element so I can have a look? Author Posts Viewing 13 posts - 1 through 13 (of 13 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In