How to write some custom Css in mendix 8.2.2

0
Hi I'm trying to write some custom Css in mendix 8.2.2, but could not find right path to place the .css file. I have done similar things in mendix 7+ in "styles\css\custom" but not working in Mendix 8+
asked
3 answers
1

I would suggest never to work in the css files. They will be overwritten whenever someone adds changes to the scss files and compiles them.
In 8.2.2, I would add my custom stuff in a .scss file somewhere in theme\styles\web\sass\app and import it into the custom.scss file. You can use Gulp, Koala or Calypso to compile it.

answered
1

Hi Vjaybir,

I recommend setting up your UI framework using Koala or Calypso, and then editing your custom.scss file. 

Here is a link to get you setup with Koala
https://docs.mendix.com/howto/front-end/setup-mendix-ui-framework-with-koala

or Calypso

https://docs.mendix.com/howto/front-end/calypso#1-introduction

and then edit your custom.scss file at:

\theme\styles\web\sass\appĀ 

 

Hope this helps!

answered
0

"theme\styles\sass\custom" moved to

“theme\styles\web\sass\custom" and

“theme\styles\native\sass\custom"

answered