[Resolved] Margin from hero

Home Forums Support [Resolved] Margin from hero

Home Forums Support Margin from hero

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #2357832
    Anders Nielsen

    Hi there

    I have this ekstra margin from an “element” – how to remove it?

    #2358067
    Ying
    Staff
    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!

    #2358100
    Anders Nielsen

    I see it…

    .page-header, .sidebar .widget, .site-main>* {
        margin-bottom: 20px;
    }

    Is for some reason inserted?

    #2358101
    Anders Nielsen

    But why?

    Is it a bug?

    #2358115
    Ying
    Staff
    Customer Support

    That’s intended as part of the theme style.

    #2358126
    Anders Nielsen

    Why add a 20px margin?

    It a hero banner in a container, and below there is a new container?

    #2358148
    Ying
    Staff
    Customer Support

    If it’s a hero, it should be hooked to the after_header hook, not in the content area.

    #2358153
    Anders Nielsen

    ok, but it makes no sense at all. So you can only have one container in the blocks/elements – strange!

    #2358159
    Ying
    Staff
    Customer Support

    Let me know if your issue is fixed 🙂

    #2358162
    Anders Nielsen

    It did not 🙁

    WP rocket and generatepress in combination does not support category-pages.

    #2358165
    Ying
    Staff
    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?

    #2358171
    Anders Nielsen

    Have you changed the element hook toafter_header?

    Yes, same issue.

    #2358197
    Ying
    Staff
    Customer Support

    That doesn’t sound right, can you publish the element so I can have a look?

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.