Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Hide menu page bar

Ha Le
Tera Expert

I want to hide this menu bar

thanks you

Screenshot_33.png

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi @Ha Le ,

 

If you don't want to remove the header from the whole portal itself, then you can create a widget with below client-side JavaScript and add it to this particular portal page and it should work.  Not a perfect solution though.

Note: Test before implementing

document.getElementsByTagName('nav')[0].style.display = "none";

Feel free to mark correct, If I answered your query.
Will be helpful for future visitors looking for similar questions 🙂

Regards,

Parv

View solution in original post

2 REPLIES 2

Asif Khan M
Giga Guru

Hi,

You can remove Header from the theme record that is being used by your portal.

Caution: This will remove header from all the portals that are using that theme.

 

AsifKhanM_0-1669025640094.png

 

Community Alums
Not applicable

Hi @Ha Le ,

 

If you don't want to remove the header from the whole portal itself, then you can create a widget with below client-side JavaScript and add it to this particular portal page and it should work.  Not a perfect solution though.

Note: Test before implementing

document.getElementsByTagName('nav')[0].style.display = "none";

Feel free to mark correct, If I answered your query.
Will be helpful for future visitors looking for similar questions 🙂

Regards,

Parv