ezekel
(Dixunei)
1
Hi, how do i change the color of my label in the form. For example if have only two labels
previous address(i want this color red)
present address(i want this color blue)
<?= $form->field($model, 'previousaddress') ?>
<?= $form->field($model, 'presentaddress') ?>
Setting css?
<?= $form->field($model, 'previousaddress', ['labelOptions'=>['style'=>'color:yellow']] ) ?>
ezekel
(Dixunei)
3
Thank you so much,can you help me please where I could find this in the yii2 references,in what section ?
['labelOptions'=>['style'=>'color:yellow']