How to hide top bar and menu completely in some routes/a full-screen component?

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
johnhoang
Posts: 13
Joined: 12 Apr 2017, 22:39

07 Nov 2019, 19:38

Hi,

How to make the top bar and menu hidden completely in some route? Especially in a component with a map, how to make "layout-main" to take the whole page space programatically?
I tried using *ngIf with condition in <app-topbar> and the div with class="layout-menu" but there still be taken blank spaces at the top of the page.

Thank you very much,
John.

johnhoang
Posts: 13
Joined: 12 Apr 2017, 22:39

12 Nov 2019, 15:29

Is there anyone ?

Thanks.

merve7
Posts: 861
Joined: 12 Sep 2017, 10:44

16 Dec 2019, 11:04

Hi,
You can remove the route out of the main component. You can view our template pages(login, error etc.) router in app.routes.ts file.

Post Reply

Return to “Ultima - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests