New Landing How can we help? Themeforest Theme Support Dante Space below footer on pages without a scrollbar

Viewing 14 posts - 1 through 14 (of 14 total)
  • Posted in: Dante
  • #292119
    heinetz
    Member
    Post count: 63

    Hi,

    I got a page with less content and no scrollbar. On this page you can see black space
    below the footer. It is the same on:

    Home One: Landing

    I tested it with Firefox Screen-Size Utility and defined a very large screen.

    You got an idea how to get rid of that space via css?

    best heinetz

    #292143
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Can you provide a screenshot of which space you’re referring to?

    – Kyle

    #292206
    heinetz
    Member
    Post count: 63
    This reply has been marked as private.
    #292304
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @heinetz

    The only way this would be possible would be to specify a min-height for the page. Which we can provide css for – if you can provide the short page that you are referring to, we’ll test it for you.

    – Ed

    #292548
    heinetz
    Member
    Post count: 63
    This reply has been marked as private.
    #292563
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Which is the short page?

    – Kyle

    #292573
    heinetz
    Member
    Post count: 63
    This reply has been marked as private.
    #292605
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Add this css:

    #page-wrap {
        min-height: 60vh;
        min-height: calc( 100vh - 534px );
    }

    – Ed

    #292617
    heinetz
    Member
    Post count: 63

    hi ed,

    thank you but I don’t like the solution. I’ll write it in jQuery.

    best,
    heinetz

    #292707
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Great thanks to Ed. Its good to use the css code instead of jquery.
    Thanks
    Mohammad

    #292725
    heinetz
    Member
    Post count: 63

    ok, I didn’t understand the solution 😉

    I tested it with 300X3000 scrensize and still I got space
    below the footer. Shure, that was the wrong test scenario
    but that happens without understanding!

    Now I got it and, you’re right, it’s better than using jQuery.

    But no solution is a good solution without understanding it!

    Thank you

    best,
    heinetz

    #292889
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    No problem @heinetz

    Apologies for not explaining – my solution basically sets the page height to be 60vh (viewport-height) for browsers that don’t support calc, and the calc line removes the header and footer height from the 100vh so that the page size is always tall enough to total 100vh.

    Hope that helps.

    – Ed

    #292892
    heinetz
    Member
    Post count: 63

    hi ed,

    yes, now I understood how your solution works. And that is the precondition to use it because I know why and what to ajust when it doesn’t work anymore instaed of asking for help again.

    best,
    heinetz

    #292920
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Glad it’s sorted.
    Thanks Ed.

    -Rui

Viewing 14 posts - 1 through 14 (of 14 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register