In order to have a fixed toolbar using the Light Header Layout, I realized that I should set data-kt-app-toolbar-fixed="true" inside the initLightHeaderLayout() in views/layout/bootstrap.js.
Should I go ahead and update bootstrap.js file directly or there should be a source file that should be compiled to views/layout/bootstrap.js?
Hi,
Yes if you want to make the layout toolbar fixed then you can update our views/layout/bootstrap.js file.
Inside function initLightHeaderLayout add the following code.
theme.addHtmlAttribute("body", "data-kt-app-toolbar-fixed", "true");
Thanks for the quick support.
If I go ahead and directly make changes to views/layout/bootstrap.js won't I have issues if KeenThemes updates the theme and/or bootstrap releases in the future?
Hi,
If you update initialization function then in the future you shouldn't face any issues in updating Metornic.
You can refer to our Metronic updates guide.
Regards,
Lauris Stepanovs,
Keenthemes Support Team