Page 1 of 1

How to add background to login page?

Posted: Fri Sep 06, 2024 12:41 pm
by iggabz

Good day,

I have tried to read topic relating to adding a background image to the login page but seems not working for me.

any ideas how can i achieve this? (v2024.12)

i tried putting this to the styles-> user but nothing happend.

.main-header {
    background-image: url(http://localhost/project1/images/wallpaper.jpg);
}

Re: login background

Posted: Fri Sep 06, 2024 1:41 pm
by arbei

You may Inspect HTML element and add your own CSS styles in your browser to test first.


Re: login background

Posted: Fri Sep 06, 2024 10:53 pm
by DGarza

iggabz wrote:

.main-header {
background-image: url(http://localhost/project1/images/wallpaper.jpg);
}

For put an background image find the class content-wrapper and add he image I just use this code

background: url ("URLPATH");

I recommend create your own class, 1 class for light mode and another class for dark mode, and when the user change the theme, change the background too


Re: login background

Posted: Mon Sep 09, 2024 8:25 am
by iggabz

thanks for this