Set Page Minimum Height - by Adeeb Rantawi

This topic has 5 replies, 2 voices, and was last updated 5 years, 1 months ago ago by Adeeb Rantawi

  • Avatar: Adeeb Rantawi
    Adeeb Rantawi
    Participant
    October 30, 2020 at 18:50

    Hi,

    What is the best way to set page minimum height for all pages?

    For example: https://suncafestore.com/my-account/lost-password/

    4 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 31, 2020 at 08:10

    Hi,

    Add the next code in Theme Options > Theme Custom CSS:

    .content-page {
        min-height: 300px;
    }

    Regards

    Avatar: Adeeb Rantawi
    Adeeb Rantawi
    Participant
    October 31, 2020 at 16:15

    Thanks for your prompt reply.

    Can I align it vertically? I tried “vertical-align: middle;” but it didn’t work.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 31, 2020 at 17:05

    Change the previous code to:

    .content-page .content {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    Regards

    Avatar: Adeeb Rantawi
    Adeeb Rantawi
    Participant
    November 3, 2020 at 19:46

    Thank you.. thank you.

  • Viewing 5 results - 1 through 5 (of 5 total)

The issue related to '‘Set Page Minimum Height’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.