hello, I want to change my menu placement to top in lepthon x. How I do that?
ABP Framework version: v6.0.0 abp.ng.theme.lepton-x: 1.0.0-rc.7 UI type: Angular
DB provider: EF Core
Tiered (MVC) or Identity Server Separated (Angular): yes
Hello,
The top menu layout will available in the next versions.
You can change the default theme with the following code:
//app.module.ts import { NgModule } from '@angular/core'; import { lightTheme, LPX_THEME_STYLES_DEFAULTS, LPX_THEMES } from '@volosoft/ngx-lepton-x'; function setLpxThemes() { const themes = LPX_THEME_STYLES_DEFAULTS.map(style => Object.assign({}, style, { defaultTheme: style.styleName === lightTheme.styleName, }) ); return themes; } @NgModule({ imports: [ /* imports */], declarations: [/*declarations*/], providers: [ // ...other providers { provide: LPX_THEMES, useFactory: setLpxThemes }, ], bootstrap: [/*bootstrap comp*/], }) export class AppModule {}
thank you, it's worked. I also want to set default auto collapse menu like this How I do that?
hello, I want to set default theme in leptonX to light and change my menu placementto top in lepthon x. How I do that?
ABP Framework version: v5.3.3
UI type: Angular
DB provider: EF Core
Tiered (MVC) or Identity Server Separated (Angular): yes
Hello,
The top menu layout is not available for now. It will be available in the next stable version
Hi muhammedaltug What is the estimate timeline for the next stable version ?
Hi! I have installed leptonX theme for angular. Currently I see menu is showing default sidemenu. I want to put that menu on top. How can I do it? Thanks