-
AuthorPosts
-
October 27, 2016 at 7:56 pm #1234077
I’ve just created a new ninja form on my front page that is built within a section that houses a background image. I would like to reduce the space between the form fields so that there is very little (almost no space at all). Is there a way I can achieve this look? My website URL is http://www.soundinnovationdj.com
Regards,
ChadOctober 27, 2016 at 11:56 pm #1234252Hello Chad,
Thanks for writing in!
You can add this under Custom > CSS in the Customizer:
.nf-field-container, #ninja_forms_required_items { margin-bottom: 5px !important; }
Thanks.
October 28, 2016 at 2:17 pm #1235139That worked great, but can I have the fields even closer together than this result? Is it a matter of changing the value of px? Also, is there css I can add to reduce the space between the “start here” headline and the form itself?
October 28, 2016 at 11:16 pm #1235570Hi There,
Update the given CSS code to this:
.nf-field-container, #ninja_forms_required_items, .nf-input-limit { margin-bottom: 0px !important; margin-top: 0 !important; }
Also, is there css I can add to reduce the space between the “start here” headline and the form itself?
Add this on the Text element (where you place the form).
margin-top: -40px;
Hope it helps, Cheers!
October 29, 2016 at 6:55 am #1235796The updated code for the field spacing worked exactly as I wanted it. Thank you. The code for the text element didn’t make any change. I clicked on the text element where the form was and added margin-top: -40px; in the class field. did I do that correctly? If so, nothing changed.
Regards,
Chad
October 29, 2016 at 7:02 am #1235801Hi there,
You’ve added inline CSS at the wrong place. Please remove it from class field and add it to style field.
Thanks.
October 29, 2016 at 7:12 am #1235811Perfect! Exactly what I needed. Thank you so much!
October 29, 2016 at 7:20 am #1235817If you need anything else please let us know.
October 29, 2016 at 2:58 pm #1236132I can’t seem to to change the font color, size, or type of font of the submit button of the form on my homepage even with the layout and style plugin of ninja forms. I would like the font color to be white, and use the georgia font while increasing the font size to something like 18 or 24 for the submit button. I would also like the width of the submit button to be wider. Basically I’m trying to get a look found on the form at the following URL http://www.scratchweddings.com
October 30, 2016 at 12:44 am #1236376Hello There,
Thanks for updating in! To change the look of the buttons, you can make use of this code instead:
#nf-field-4{ padding-left: 15px; padding-right: 15px; font-family: "Georgia"; font-size: 24px; }
Hope this helps.
October 30, 2016 at 1:42 am #1236404This is perfect, if I wanted to make the font in bold and italic would I add font-style: “bold, italic”;?
October 30, 2016 at 3:42 am #1236461Hello There,
If you want to have a bold and italic, you can make use of this code instead:
#nf-field-4{ padding-left: 15px; padding-right: 15px; font-family: "Georgia"; font-weight: bold; font-style: italic; font-size: 24px; }
If you need anything else we can help you with, please let us know.
October 31, 2016 at 8:30 am #1237805Perfect Thank You!
October 31, 2016 at 8:46 am #1237825You’re most welcome 🙂
-
AuthorPosts