You could add a new class to your scss files and use the same class on the template grid that you want to change.
Additionally, I’d recommend to make changes in scss files as they are more maintainable and will be compiled to your css files during runtime and your css will then be overwritten (if you specifically made some changes in css files).
Hope this helps!
Thanks For the Reply!
Yes, i did that. I added a new class here: /theme/style/web/sass/main.scss that looks like that:
background-color: #44e36e !important;
It should change the bc to a green.
then I apply the class like that:
and rerun the application.
When I look at the result, nothing changes, but I see in the crome inspector, that it successfully insertet the class:
so why is the background color not changing?
Ok, I now looked into the css that i get from the browser. it looks like this:
the file is _custom.scss
There the class is missing. If I now look into the file from my editor i see:
So there the class is.
Why is the class not in the browser?
do i do something wrong?
You see, it is the same issue as this one: https://forum.mendix.com/link/questions/107881
Even if I add a class in already imported files i dont see the chage in the frontend.