The New Way to Build with AI! Introducing ReUI — the developer platform for agentic UI with shadcn/ui
Browse ReUI Pro

Unable to get light header layout displaying correctly using Good theme


How do I set the header layout to load using the starterkit?


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (5)

 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment

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.



I am using Flask


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
buy metronic keenthemes mega bundle

ReUI

Open-source React components, blocks and templates built on shadcn/ui and Tailwind CSS by Keenthemes.