[Resolved] Trouble with 100VH

Home Forums Support [Resolved] Trouble with 100VH

Home Forums Support Trouble with 100VH

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #681581
    Maria

    I’m having trouble getting my two pages to fit the viewport. I’ve tried various combinations of height, min-height, calc(), but can’t get it to work. I’m using GPP and Gutenberg.

    #681664
    David
    Staff
    Customer Support

    Hi there,

    try:

    #page {
        min-height: calc(100vh - 172px); /* 172px = header height + footer height */
    }
    #681709
    Maria

    You’re awesome!

    #681894
    David
    Staff
    Customer Support

    Glad to be of help

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