Font Size & colour

0
How to enlarge the font size in an input box in a data view? I tried to put styles in the common page but does not work: font-size: 15px; font-size: 150%; font-size: Large; Help?!
asked
4 answers
3

Hi Sami,

Should this apply to your whole app or a single input field?

In the first case you can set this in your theme lib settings, in the second by using a custom class.

There are several questions that contain quality answers on this forum (like this one) or blogs for more information.

in the latter case you can also just add this to your custom stylesheet and set this class on your input element in the modeler:

.large-input input {
  font-size: 20px;
}

Good luck!

answered
0

Wieke, Im working with Sami.

 

We need to change it to a single input field. We have already checked the forum but the solution we found do not work!

 

Thank you very much!!!!

answered
0

Then

  1. in the modeler add a classname of your choice to that inputfield
  2. in sass use that classname as selector: .<myclassname> {font-size: 20px;}

and see https://forum.mendix.com/link/questions/92980

answered
0

If you want to add particular text box alone,you should create the custom css class as given below and apply that class to the text field

.new .form-control{

font-size: 50px;

}

 

answered