Add background image or change background color for Login/Register page
How can I add background image to the login page and registration page.
style="Background-image: ('Img/back.PNG');"
Not working
How can I add background image to the login page and registration page.
style="Background-image: ('Img/back.PNG');"
Not working
You better add your CSS under HTML -> Theme -> User tab. Press F12 in your browser to find out which HTML element you should add background image to. Also read CSS background-image.
.wrapper .content-wrapper {
background-color: #fff;
min-height: calc(100vh - calc(3.3125rem + 1px) - calc(3.5rem + 1px));
}
affects the whole site. I could not get a unique element for login page .
You may change Config("BODY_CLASS")
by Page_Load server event to add CSS class to the body tag to distinguish pages.
I am trying to make an image the background of the left side menu area for the entire site. I need to add a custom class to uniquely identify a page with on the wrapper or the body.
and was trying this, Config("BODY_CLASS") by Page_Load
I added CurrentPageHeading()
<div class="wrapper ew-layout <?php echo CurrentPageHeading() ?>">
becomes
<div class="wrapper ew-layout Login">
We would like to use this but are unsure how to code it or perhaps a different method? Any assistance would be greatly appreciated.
Thank you.
You may simply use Page_Foot server event.