HLAI Experts

Guide · White label

HighLevel login page custom JS not loading? Build the login in CSS

If your GoHighLevel (GHL) login screen shows your agency Custom CSS but a script from Custom JavaScript does nothing there, stop debugging the script. HighLevel documents CSS styling for the login page, not scripts, and we've seen the login load the CSS without the script. Put everything the login screen needs into Custom CSS, so it looks right whether a script runs there or not.

Rob EasonPublished

What you're seeing

The colors, background and spacing from your Custom CSS show up on the login page. Whatever your script was meant to do there doesn't: a line of text it adds, an image it swaps, an element it moves. No error appears on the screen.

Before you change anything, sign in and check whether the same script works on the pages after login. If it does, the script is fine and the login page is the only place it's missing. That narrows the problem to one screen.

What HighLevel documents for the login page

Agency custom code lives in Company settings, under Settings > Company > Whitelabel, in two boxes: Custom CSS and Custom JavaScript. HighLevel's help center documents customizing the login page with CSS. It doesn't promise that a script runs on that page.

Two login details don't need code at all. The agency logo set in the Whitelabel settings appears on the login screen, and the Whitelabel Domain decides which address serves the desktop login portal.

HighLevel also warns that custom CSS and JavaScript can break after interface updates. Unsupported code is something you recheck, not something you set once.

Why we keep scripts off the login

We've seen an agency login page serve the Custom CSS and leave the script out. Other notes from our builds describe a slot for the script on that same page. HighLevel's help pages don't say which to expect.

That uncertainty is the whole argument. A login built in CSS alone looks the same either way. A login that depends on a script rests on behavior nobody has documented, on the one screen every user of the agency sees first.

If the login screen needs it, it goes in Custom CSS.

Moving the login work into CSS

Much of the visual work a login script might do can be done in CSS: colors, backgrounds, images, spacing, and hiding an element you don't want.

  1. Open Settings > Company > Whitelabel. Set the agency logo there and check the Whitelabel Domain before writing any code for either.
  2. Sign out, open the login page on your Whitelabel Domain, and inspect the elements you want to change. Use the selectors you find today, not ones copied from an older template, because HighLevel's markup changes between versions.
  3. Write down each thing your script did on that page. Next to each one, write the CSS that does the same job.
  4. Put those rules in Custom CSS and save. Remove the login part of the script so nothing on the page depends on it.
  5. Load the login page in a private window and compare it with what you expect, field by field and image by image.
  6. Note the date. Check the login page again after HighLevel's next interface update.

Rather have it set up for you?

After a 30-minute 1:1 with Rob to look at your current login, we move its customization into CSS that needs no script and test it on your login domain.

Book a 1:1 with Rob

The logo rule that matches nothing on the login

If you give a sub-account its own logo with CSS scoped to that sub-account's location id, the rule has nothing to match on the agency login page. In our builds, location-scoped logo rules never applied there, because the login sits at the agency level.

Style the login logo with a rule that doesn't depend on a location id, or leave it to the agency logo setting. Keep the location-scoped rules for the screens inside the sub-account they were written for.

Signed-in screens are a separate question

If the trouble is with navigation after sign-in rather than the login page, look at Custom Navigation. HighLevel gives it a separate control for reusing legacy agency code, so check that control on its own before you assume the code itself is wrong.

Questions

Questions about the HighLevel login page

Does HighLevel run agency Custom JavaScript on the login page?
HighLevel's help center doesn't say. We've seen a login page load the agency CSS without the script, so we don't rely on a script there. Build what the login needs in Custom CSS and it looks the same either way.
Where do I add custom CSS for the HighLevel login page?
In the agency's Company settings, under Settings > Company > Whitelabel, in the Custom CSS box. HighLevel documents CSS customization of the login page. Inspect the current login elements before you write selectors, since they change between versions.
How do I put my logo on the HighLevel login screen?
Set the agency logo in the Whitelabel settings; HighLevel shows it on the login screen. If you style it further with CSS, don't scope the rule to a sub-account's location id. In our builds, those rules didn't match on the agency login.
My login CSS stopped working after a HighLevel update. Why?
HighLevel warns that custom CSS and JavaScript can break after interface updates. The repair is to inspect the login page again and update the selectors to match what's there now. Keep a dated copy of the working code so you can compare.
Which address shows my branded login?
The Whitelabel Domain controls the desktop login portal. Test your login CSS on that address, signed out, since that's the page your users see.
Rob Eason

Who you talk to

Rob Eason

Rob runs HLAI Experts and takes the 1:1 calls himself.

He is a HighLevel Certified Admin with the second-most reviews in HighLevel's Certified Admin Directory worldwide, all of them 5 out of 5.

He won HighLevel's Top New Subaccounts via AI Employee award in its 2025 Summer of AI Awards and taught HighLevel's official masterclass on its AI Employee.

Before HighLevel, he co-owned a 60-employee financial services firm and sold his share.

On the call he looks at your account, not a script.

5/5 across 83 reviews in HighLevel's Certified Admin Directory