thomaSmith thomaSmith - 7 months ago 24
CSS Question

how to style a codeignitor form label

I am trying to change the color of the form labels and i was wondering how to do it.

<div class="form-group">
<div class="medium-6 columns">
echo form_label('First Name');
$data = array(

'placeholder'=>'First Name'


echo form_input($data);


In your form open if you have a id="exmaple" In your css file have you tried

#example label {
  color: #222222;

You may need important

#example label {
  color: #222222 !important;

And looks like your mixing foundation code with bootstrap code bootstrap col-md-6