Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

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
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (5)


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.



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;
}


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(