[Support request] automatic screen height

Home Forums Support [Support request] automatic screen height

Home Forums Support automatic screen height

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1983067
    jose luis

    Hello!!
    How can I make my page fit to the height of the screen when I have little content?

    On this example page you can see. https://hublocker.net/hometest/

    I want to make my home with a search engine in the center and it was fatal. Thanks

    #1983148
    Ying
    Staff
    Customer Support

    Hi Jose,

    Give this CSS a try:

    .site-main .inside-article {
        min-height: calc(100vh - 162px);
    }

    Let me know ๐Ÿ™‚

    #1983199
    jose luis

    Hi!

    works fine!!

    Thank you so much

    #1983229
    Ying
    Staff
    Customer Support

    No problem ๐Ÿ™‚

    Please be noted, if you change the header or footer height, the value 162px need to be adjusted accordingly.

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