Page 1 of 1

Align logo center in login page. AppGini 24.17

Posted: 2024-09-16 17:50
by Moh Youba
Hello

Sharing with you this tricks

When I place image on the login page, it is display well on pc, but on mobile it do not.
Here solution given by ChatGPT
<style>
/* Styles par défaut pour l'affichage sur PC */
body {
background-image: url("images/geigroupe_bg.png");
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center center;
background-size: cover;
}

/* Media query pour les écrans mobiles */
@media only screen and (max-width: 768px) {
body {
background-image: url("images/rendoo.png");
margin-top: 50px;
background-position-y: 400px;
background-repeat: no-repeat;
background-size: 100%;
}
}
</style>
appgini.jpeg
appgini.jpeg (94.12 KiB) Viewed 13335 times

Re: Align logo center in login page. AppGini 24.17

Posted: 2025-08-06 23:29
by lramirez
Hello... I managed to do this... :D