I have a rails 4 app with bootstrap and Simple Form.
I have followed the sample apps in Simple Form - but none of my formatting is coming out in similar style to those in the sample (despite using the same code).
Does anyone know how to put space between the label and the field? I have tried to add padding but it adds it beneath the field rather than beneath the label, but above the field.
For example, I have:
<div class="question-data">
<%= f.input :prim_sec, label: 'What sort of data do you want?', collection: ["Primary", "Secondary", "Both" ], prompt: "Choose one" %> </div>
And this CSS for question-data:
.question-data {
font-weight: bold;
padding-bottom: 10px;
padding-top: 20px;
font-family: 'Quicksand', sans-serif;
color: #7F042D;
font-size: 17px;
}
Any thoughts on how to add styling to one part of the input separately from another?
Thank you