Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

Laravel change dark sidebar to light sidebar in light theme


Please help me to change dark sidebar to light sidebar in light theme of Laravel?

Thanks


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 (3)


You're welcome! If you have any more questions or if there's anything else I can assist you with, feel free to ask.



If you want to change the dark sidebar to a light sidebar in the light theme of Laravel using Metronic, you can follow these steps:

Open the file
/metronic_laravel_v8.2.1/starterkit/app/Core/Bootstrap/BootstrapDefault.php in your code editor.

Look for the following lines:

// Uncomment the line below to use the light sidebar layout
// $this->initLightSidebarLayout();

// Uncomment the line below to use the dark sidebar layout
$this->initDarkSidebarLayout();

Uncomment the line $this->initLightSidebarLayout(); by removing the // at the beginning.

$this->initLightSidebarLayout();

Comment out the line $this->initDarkSidebarLayout(); by adding // at the beginning.

// $this->initDarkSidebarLayout();

Save the changes to the file.



Wonderful! Thank you so much!


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  :(