Changing color of radio button

0
Hi everyone, I am trying to change the color of the my radio button so that the selected option is orange. Does anyone know how to do this? Thanks! Jon
asked
3 answers
1

Hi Jonathan

These documentation also will helps you to achieve your requirement

https://www.auraq.com/learning-to-style-it-out-with-mendix

https://www.mxblog.nl/2016/03/using-sass-with-mendix/

answered
0

Adding this to main.css did the trick

 

input[type='radio']::after{
  background-color: orange;
}


input[type='radio']:checked:before{
  border-color: orange;    
}

answered
0

Hi Jonathan,

As Jeroen mentioned the best practice is to change SCSS and not css directly. 

If you have not already than I will recommend you to go though Style your App with CSS learning path in Mendix academy.

 

 

answered