Skip to main content
Question

Help with a couple of css&html scripts for the landing page

  • July 24, 2026
  • 3 replies
  • 47 views

caycocho
Influencer II
Forum|alt.badge.img

Hello there,

With the new navigation UI now a mandatory requirement, can we ask the community for the css scripts to do the following:

  1.  Move the login box from the center to the left side
  2. Change the color of the header bar to black

We had the scripts to these in the old navigation UI, but it seems not to work anymore.

Thank you for the support in advance.

Caesar

3 replies

Jason Kocur
Helper I
Forum|alt.badge.img+1
  • Helper I
  • July 24, 2026

Hi ​@caycocho

 

If you have the CSS available already correctly impacting the the old UI, it may be a simple update. The old CSS used #doc-layout as the main CSS anchor. If thats how your old pages were styled, the update may be as simple as switching to the new app-layout CSS anchor. 

 

If you have any AI tool available, I highly recommend adding your code to that, to see if it can help give you the new version. Alternatively, it you want to paste a snippet of the code here or send a message, Im happy to take a look. 


caycocho
Influencer II
Forum|alt.badge.img
  • Author
  • Influencer II
  • July 25, 2026

Thank you for the attention, Jason.

I’m not a coder and you are a big help. Here’s the code that I got from Docebo at that time.

 

/* Make this color value match the "Main Colors" under Branding and Look */
#doc-layout-internal-header,
#doc-layout-external-header > div,
#doc-layout-user-menu > dcb-ui-trap > div > div > div:nth-child(2) > div > div.user-menu-header {
    background: #24201f;
}
 
/* Login box -center to left*/
#doc-layout-page-content > doc-layout-external-simple > div > div.external-simple-content {
    justify-content:left!important;
    margin-left:95px!important;
}
 
Again, thank you for the support.

Jason Kocur
Helper I
Forum|alt.badge.img+1
  • Helper I
  • July 27, 2026

Hi Caesar, 

Thanks for sending that over. Without knowing the specific HTML with new nav turned on. It will be a bit difficult. I’ve done my best to base it off of what I know with our instance. We also don’t specifically use a login page. That being said, the following, can be tried. 

Please make sure you have your current code saved somewhere it can be retrieved and to reapply after testing the new code. And note, this does not impact the left align login, as we dont use a login page so Im unsure of what that code looks like. 

 /* ============================================================================ DOCEBO BRANDING TWEAKS — HEADER BACKGROUND ---------------------------------------------------------------------------- Purpose : Apply a brand background color to the Docebo header bar. Scope : Two separate rules, because two separate templates render a "header" and they share NO common selector:

Rule 1 — header[applayoutheader] The authenticated app shell in Docebo's NEW navigation. (Old nav used #doc-layout-internal-header; that ID no longer exists in new nav, so this replaces it.)

Not included: - Login box (external-simple-content): this instance uses SAML SSO and does not render Docebo's native login card, so there is no target. - #doc-layout-external-header: not present in any captured page. Color : #24201f is a PLACEHOLDER.

Replace with your own brand hex, ideally matching "Main Colors" under Branding & Look. Caution : Rule 1 colors the ENTIRE top bar (logo, center, user/billing cluster). Confirm the look in a sandbox before production. ============================================================================ */ /* Rule 1 — new-nav authenticated app header */ header[applayoutheader] { background: #24201f !important; }

 

If you want try to go a bit further, we can take this to a DM so to protect the HTML in your instance

 

-Jason