This topic contains 3 replies, has 2 voices, and was last updated by Sean Sean 2 years, 6 months ago.

How can I hide sidebar and Header?


  • mbarak
    Participant

    Posts: 7
    Member Reply #8242

    Hey I would like to keep theme’s structure but hide part of it.

    Can I hide the sidebar or the header using functions in layout.js?

    If so which functions, also I would like to have a mega menu which changes his content according to the url path, how can I do it?

    Sean
    Sean
    Keymaster

    Posts: 4527
    Support Staff Reply #8293

    Hi,

    May i know which admin theme are you referring to ? Do you need to hide the sidebar permanently or you need to hide it based on user interaction ? To customize or extended the theme according to your project requirements you will need to modify the theme further since the theme customization is not covered by our support. But if you have a specific questions along the way please let us know.

    Thanks.


    mbarak
    Participant

    Posts: 7
    Member Reply #8302

    I am referring to the angularjs admin theme 1

    Sean
    Sean
    Keymaster

    Posts: 4527
    Support Staff Reply #8334

    Hi,

    Can you provide us more info ? To hide any HTML element you can control it via css(display:none to hide display:block to display back). Depending on your requirements you can manipulate it via JS.

    Thanks.

You must be logged in to reply to this topic.