Set Page Minimum Height - by Adeeb Rantawi

Solved4 replies2 participantsUpdated by Adeeb Rantawi

  • Avatar: Adeeb Rantawi
    Adeeb Rantawi
    Participant

    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

    Hi,

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

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

    Regards

    Avatar: Adeeb Rantawi
    Adeeb Rantawi
    Participant

    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

    Change the previous code to:

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

    Regards

    Avatar: Adeeb Rantawi
    Adeeb Rantawi
    Participant

    Thank you.. thank you.

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