thomaSmith thomaSmith - 1 year ago 65
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);

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download