Site logo

[Resolved] Space after header element

Home Forums Support [Resolved] Space after header element

Home Forums Support Space after header element

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1282310
    letsdoit

    Hello Team,

    On landing page of website, there is a slidershow (using header element and smart slider) but there is a margin at bottom which is visible always.

    Pls advice how to get rid of that.

    Regards

    #1282722
    David
    Staff
    Customer Support

    Hi there,

    the height: 100vh; property in this CSS is the problem – remove that to remove the space:

    .page-hero {
        background-color: #f8f6f5;
        color: #ffffff;
        text-align: center;
        box-sizing: border-box;
        min-height: 100vh; /* Thus is creating the space */
    }
    #1282736
    letsdoit

    Thank you David.

    But, I have no such added css in my stylesheet (simple css or additonal css). And it is also not elementor block where I could have set height as 100 vh but through elements.

    I know you are right but I cant find a away to remove that css or reset 100 vh somewhere.

    #1282809
    David
    Staff
    Customer Support

    I can’t see where its coming from as its in a cached file.
    GO to Appearance > Elements and edit the Header Element – can you see the Full Screen checkbox ?

    If you can and its checked then uncheck it.
    If you cannot – go to the site header tab and enable Merge with content temporarily now return to see if the Full Screen is checked

    #1282814
    letsdoit

    Appearance > Elements > Header Element – Full Screen checkbox unchecked which fixed the extra space.

    This worked. Thanks..

    #1282871
    David
    Staff
    Customer Support

    Glad to hear that

    #1283943
    letsdoit

    Hello David,

    but the white space is still visible in table/mobile mode. Any direction on how to fix that?

    thanks

    #1283959
    David
    Staff
    Customer Support

    When using a Page Builder you best to enable Page Builder Container: Full Width

    https://docs.generatepress.com/article/page-builder-container/

    This removes all the Themes padding as well as making the container full width

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