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