Skip to main content
Question

CSS Hide Header (not working in Production)

  • Jan 21, 2026 7:07 PM UTC
  • 5 replies
  • 173 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
  • Jan 21, 2026 7:13 PM UTC

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
  • Jan 23, 2026 12:19 PM UTC

check the

#doc-page-24

 ID applies to the page you are modifying.


mateojones
Novice III
Forum|alt.badge.img+5
  • Novice III
  • Jan 26, 2026 9:02 PM UTC

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


JKolodner
Guide I
Forum|alt.badge.img+8
  • Guide I
  • Jan 27, 2026 3:23 PM UTC

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
Guide I
Forum|alt.badge.img+8
  • Guide I
  • Jan 27, 2026 3:26 PM UTC

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