How to customize menu ?

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
manishbjain
Posts: 8
Joined: 04 Dec 2018, 03:42

27 Dec 2018, 06:55

Hello ,

I have just purchased the ultima theme and trying to configure the theme for my app. The first thing I wanna do is customize the menu. I only want to see slim menu when the app is opened in the desktop and overlay menu when on tabs and mobiles. I only want code specific to that and remove all unwanted code giving options to select the menu. How do I do that ?

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

28 Dec 2018, 13:19

You need to change some lines in app.component.html and app.menu.component.ts;
change ngClass in 4th line in app.component.html;

Code: Select all

            [ngClass]="{'menu-layout-static': !isOverlay(),
            'menu-layout-slim': true,
            'layout-menu-static-active': staticMenuMobileActive}"
Remove layout modes in customization section in app.menu.component.ts
Also you can add your style in your override files in overrides folder.

Post Reply

Return to “Ultima - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests