You could assign the “label text” as “placeholder text” instead – however this will make the text-color light gray. This can be changed like this in css: https://css-tricks.com/snippets/css/style-placeholder-text/ – however this isn’t supported in IE9 and earlier versions or Opera Mini.
Another solution, although not a pretty solution, is to use the following css which will move the actual label down “above” the input field using a negative margin and z-index:
.nf-field-label {
margin-bottom: -20px!important;
z-index: 1;
margin-top: 5px;
margin-left: 5px;
position: relative;
}
.ninja-forms-field{
padding-top: 25px;
}
-
This reply was modified 9 years, 5 months ago by
Stolle7.
+1 @stolle7.
Yes, @stavroch, the suggested method is to use a “hidden” label with placeholder text.
[inline image removed — if you want to post a screen shot, please post the image on imgur.com and paste a link here.]