Skip to main content
Question

CSS Hide Header (not working in Production)

  • January 21, 2026
  • 5 replies
  • 33 views

acuitylmsadmin
Novice I
Forum|alt.badge.img

Hello Everyone! 

I am attempting to hide this header on all pages. 

 

 

When I tried the codes below in our STAGE environment, they all worked. When I add them to PROD, they did not work. 

----------------------------

doc-layout-internal-header {
    visibility: hidden;
}

----------------------------

doc-layout-internal-header {
    display: none !important;
}

-----------------------------

#doc-page-24 #doc-layout-title-bar { display: none; }

-----------------------------

 

Any ideas here? Anything is helpful. :) 

5 replies

lrnlab
Hero III
Forum|alt.badge.img+10
  • Hero III
  • January 21, 2026

it might be because some of the pages in sandbox have been updated. Please be careful when hiding the page headers as you may also hide some critical action buttons on some of the newer screens like the Content Center, creator tool, etc. we’ve had to remove it because of these issues. Or perhaps you need to be specific about which pages you apply CSS to instead of applying it broadly; especially for admin pages.


  • Novice III
  • January 23, 2026

check the

#doc-page-24

 ID applies to the page you are modifying.


mateojones
Novice III
Forum|alt.badge.img+4
  • Novice III
  • January 26, 2026

This code worked for us: 
main:has(#doc-page-18) #doc-layout-title-bar {display: none;}


JKolodner
Helper III
Forum|alt.badge.img+6
  • Helper III
  • January 27, 2026

Following up on the comment above (@lrnlab) about limiting the hiding of the header to the home page only so that we don’t miss out on functionality that may be in that bar:

We use the following CSS to hide the header:

 

/** Hide the Header Bar **/

#doc-layout-title-bar {

    display: none;

}

 

How would we adjust this CSS to only apply to the home page?

Thank you!


JKolodner
Helper III
Forum|alt.badge.img+6
  • Helper III
  • January 27, 2026

Specifically, this is the header I’m trying to hide: