.pf-v5-c-login__container { grid-template-areas: "main"; grid-template-columns: 34rem; } #kc-header-wrapper { padding: 62px 10px 20px; position: absolute; left: 50%; transform: translateX(-50%); } .login-pf body { background: url("../img/keycloak-bg.png") no-repeat center center fixed; background-size: cover; height: 100%; } div.kc-logo-text { background-image: url(../img/keycloak-logo-text.png); background-repeat: no-repeat; height: 63px; width: 300px; margin: 0 auto; } div.kc-logo-text span { display: none; }