Align logo center in login page. AppGini 24.17

Got something cool to share with AppGini users? Feel free to post it here!
Post Reply
Moh Youba
Veteran Member
Posts: 235
Joined: 2017-03-12 09:31

Align logo center in login page. AppGini 24.17

Post by Moh Youba » 2024-09-16 17:50

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 110 times

Post Reply