Changing default login page to a custom login page

armanm32055672

30-10-2017

Hi,

I have a site: '/content/name/en/domain/home.html' and also have a custom login page '/content/name/login.html'.

I need to change the default aem login page for this custom site to my custom login page. I am slightly confused how to do this.

When a users tries to access home.html for the first time, I want them to login through my custom login.html page instead of this default page: '/libs/granite/core/content/login.html'

Any help would be appreciated. Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Ricky99999

31-10-2017

go to this path:

       /libs/granite/core/content/login/clientlib/resources/bg/default/bg.css 

and change all image url

   background-image: url('../../../../login/clientlib/resources/bg/default/Copy of 1024x710.jpg');

    }

}

@media only screen and (orientation: landscape) {

    /*#bg_default::after {*/

        /*content: "orientation landscape (1024x710)";*/

    /*}*/

    #bg_default {

        background-image: url('../../../../login/clientlib/resources/bg/default/Copy of 1024x710.jpg');loginpage.PNG

Answers (5)

Answers (5)