Open-source by Keenthemes!Support our KtUI and ReUI open-source projects and help with growth.
Star on Github

Color Change


Hi, How we can customize the colors? I have seen the documentation, but not understand well. Give us easy to implement trick for colors change.
Note : We doesn’t need solution for SAAS. We need direct solution via CSS.
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 (51)


Hey, you used to write wonderful, but the last few posts have been kinda boring¡K I miss your great writings. Past few posts are just a bit out of track! come on! 
telegram下载



It turns out that even the hottest port has a few places where you can get off the beaten path. Here are some recommendations that will make you feel like you're in the know
google



In Simple,
You are saying we need to write custom css to change colors?
Means the CSS solution is not available.

I need CSS solution.



Hi,

The method we provided is a workaround and the only way to override the theme CSS without using the build tools.

We use SASS to globally changes the theme styles. CSS approach is no longer used in nowadays development.

Please refer to our documentation and video tutorials and try to invest some time to get started with the build tools, the most efficient way of working with the front.

Regards.



Hi,
Can you please answer my question?
I was asked for the solution to change colors via CSS.

Waiting a long.
Answer the question simply.

Regards



Hi,

To change the colors via CSS you will need to add a custom css file and include it after all CSS files in the HEAD and just refer to the HTML code/CSS class using Chrome code inspector.


<link href="/metronic8/demo1/assets/css/custom.css" rel="stylesheet" type="text/css" />



.btn-primary {
background-color: #dddddd !important;
}


Regards.



Hi,

Please note that to change the theme colors efficiently you will need to use the SASS variables and compile them to generate the CSS files in the assets folder. Using SASS and Build tools nowadays defacto approach.

For more info about using Metronic please check the Theme Documentation
and Video Tutorials

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