Remove header menu on Iframe content block

Andrew_TND
Mega Sage
Mega Sage

Hello!

Does anyone know how you remove the header from an Iframe content block? 

To give you some background I have created a custom widget and added it to a page with no association to any menu's. I want this page to display on a widget and accessible on dashboards however I cant get rid of the menu header! Thanks in advance!

Andrew_TND_0-1753285161086.png


Andrew_TND_1-1753285363250.png

 

 

1 ACCEPTED SOLUTION

Andrew_TND
Mega Sage
Mega Sage

Thanks for the reply, unfortunately what ever I do the OOTB config overrides my own. My work around was to create a new portal and Iframe it to a dashboard.

View solution in original post

2 REPLIES 2

Shruti
Mega Sage
Mega Sage

Hi,

To hide header for a specific page

1. Navigate to Service Portal -> Pages

2. Open the page

3. Paste below to the page specific CSS

.navbar-inverse{
display:none !important;
}

 

or

.navbar-header{
display:none !important;
}

 

or

.nav-container{
display:none !important;
}

Andrew_TND
Mega Sage
Mega Sage

Thanks for the reply, unfortunately what ever I do the OOTB config overrides my own. My work around was to create a new portal and Iframe it to a dashboard.