Blazer - change the default layout
Dear all,
I am using the Blazor version, how I can change the default of the layout, to change it from dark-sidebar to other options! Like dark-header or other.
Thank you for all.
Best regards,
Replies (3)
Hi Othman Alkhan,
Thank you for reaching us out.
You can change the default layout inside Starterkit/App.razor.
Here are all available main layouts.
Layout.DefaultDarkSidebar
Layout.DefaultLightSidebar
Layout.DefaultDarkHeader
Layout.DefaultLightHeader
For DarkHeaderLayout you can update the 5th line in Starterkit/App.razor.
<RouteView RouteData="@routeData" DefaultLayout="@typeof(Layout.DefaultDarkSidebar)" /> Also, you can override the layout for separate razor page views using
@layout directive.Regards,
Lauris Stepanovs,
Keenthemes Support Team
Hi Othman Alkhan,
Please don't hesitate to reach out if you need anything more from us.
Regards,
Lauris Stepanovs,
Keenthemes Support Team