Unable to get light header layout displaying correctly using Good theme
How do I set the header layout to load using the starterkit?
Replies (5)
Thank you for reaching out. To set the light header layout using the Good theme in the Starter Kit, you can follow these steps:
Open the file /starterkit/_templates/layout/_bootstrap/default.py.
Find the line that initializes the header layout and enable the KTBootstrapDefault.initDarkHeaderLayout(context) line. Comment out any other lines related to header layout initialization.
Next, navigate to the file /starterkit/_keenthemes/init.py.
Find the line that sets the layout, and enable the line related to the default header layout. Comment out any other lines that set different layouts.
Example:
'layout': KTTheme.setLayout('default_header_layout.html', context),
# Comment out other lines related to layout setting
Make sure to save the changes and then reload your application to see the updated header layout.
If you have any further questions or encounter any issues, feel free to reach out for assistance.
Hi,
May I know which Starter Kit are you using? If you check your selected starter kit controller code there are some instructions to change the layout via config.
Regards.
I'm using the newest version here:
I don't see instructions on chaining the layout via config.
Hi,
May I know which Starter Kit are you using ? Asp.net , Blazor, Django or Flask ? We will give you a complete instruction if we know your Starter Kit framework.
Regards.