- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2018 03:39 AM
Hi Team
How to customizing login page in Servicenow ,OOB Snow Login page is right said But We need to Change login section to center of the page
like
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2018 05:24 AM
Hi Surya,
I am guessing you are trying to modify the default login page instead of CMS pages. If CMS is the requirement, then above answers might help you. If you are trying to edit the default one then there is no direct way to do it.
I played around with the instance looking into UI pages and UI macros for modifying the login page form but ended up nowhere.
There is just one way to do it and that is a workaround and would not recommend unless really needed.
The approach needs a simple UI script:
Name it anything like "loginLoad"
//Check if you are on the login page, on then run it
if(window.location.href.toString().indexOf("welcome.do") > -1)
{
setTimeout(function() {
var login_div = document.querySelectorAll("div.login");
//alert(login_div.length);
login_div[0].style.margin = "0px auto";
login_div[0].style.marginTop = "30px";
}, 150); //Set 150 to a bigger or smaller number based on the needs. 150 is the number of milli seconds after which the script runs.
}
RESULT
Good Luck!
Mark the answer Correct and Helpful if it was.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2019 11:58 PM
@Davie
Good point. We usually have automatic SSO redirections to third-party integrations like OKTA and DUO. Can you send me a screenshot of the login page with the link? I would like to see its location.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2022 01:57 AM
Hello Sagar,
We have integrated our SN instance with DUO.
However, we need to redirect user to Duo login page once a he/she tries to access SN instance.
We are not able to find any feasible approach for that.
Can you please guide me for the same?
Raj