How to add background to login page?

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
iggabz
User
Posts: 111

How to add background to login page?

Post 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);
}

arbei
User
Posts: 9787

Post by arbei »

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


DGarza
User
Posts: 152

Post 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


iggabz
User
Posts: 111

Post by iggabz »

thanks for this


Post Reply