The New Way to Build! Introducing ReUI — the developer platform for agentic UI with shadcn/ui
Learn More

Lateral Menu - COLORS


Hello, im using LARAVEL THEME (Starter Kit) 8.2.3

I know that i can change data-kt-app-layout="light-sidebar", but i dont know where to change it in this Laravel Starter Kit, by the way i need to change the Background color, and texts menu colors

How can i change this vars and colors.

Thanks, regards


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)


Hi Rodrigo Romero

Sorry for the late response. You're correct, it's perfectly fine to make these changes in the _variables.custom.scss file. This file is intended for customizing variables without affecting the core Metronic styles.

After making those changes, don't forget to rebuild the assets to apply the new styles. If you have any further questions or need assistance, feel free to ask!


For the records,

I need to change:

  • Background color $app-sidebar-dark-bg-color:

  • Heading titles in menu $app-sidebar-light-menu-heading-color:

  • Links in menu $app-sidebar-light-menu-link-color:

  • For icons: uses bs-text-muted var, but if u change is affecting the complete theme, so i need to use

.ki-duotone, .ki-outline, .ki-solid { color: #000000; }

Hi Rodrigo Romero

To change the sidebar theme color, you'll need to navigate to the file app/Core/Bootstrap/BootstrapDefault.php.

Inside this file, you'll find a method called initLightSidebarLayout(). You need to ensure that this method is enabled, and you can do so by uncommenting it.

Additionally, you might want to comment out other methods.

After making these adjustments, save the file, and your changes should take effect.

Hope this helps! Let me know if you have any further questions.

Thanks


Thanks for the Tip.

Now, i need to change the text colors
.menu-title
.menu-icon
.menu-heading

It is ok, if i change it in /layout/_variables.custom.scss? or u suggest to change it in other file?

.menu-icon if using var(--bs-text-muted), i need to customize the color without affecting other vars.


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