Hi - I am running into this issue (see graphic) and could use some help:
http://dl.dropbox.com/u/3353027/GV%20Issue.png
Live URL: http://www.blacktipit.com
Thanks -M
Hi - I am running into this issue (see graphic) and could use some help:
http://dl.dropbox.com/u/3353027/GV%20Issue.png
Live URL: http://www.blacktipit.com
Thanks -M
You just need to remove the bottom borders from the list items inside the form structure, then target the inputs by their unique ID and apply a few padding/margin rules so they're consistent with the adjacent form.
[css]
body .gform_widget .gform_wrapper ul li {
border: none;
}
body .gform_wrapper input#input_4_3 {
padding: 6px!important;
margin: 5px 3px 0 0!important;
}
body .gform_wrapper .gform_footer input#gform_submit_button_4 {
padding: 6px 6px 5px 6px!important;
margin: 5px 3px 0 0!important;
}
test screenshot: http://bit.ly/ntSilq
http://www.gravityhelp.com/documentation/page/CSS_Targeting_Samples
First - thank you! Second, we are so close. Take a look at it live. I made sure to add the form ID. However, even when I tweak the padding or margins, it never changes. Not sure why that is happening.
Your rule is wrong. You're targeting the ID as if it were a class name..
you have
[css]
body .gform_wrapper_4 input#input_4_3 {
padding: 6px!important;
margin: 5px 3px 0 0!important;
}
which is wrong with the . (dot)
It should be
[css]
body #gform_wrapper_4 input#input_4_3 {
padding: 6px!important;
margin: 5px 3px 0 0!important;
}
with the # (pound) sign to denote and ID/name instead of a class. It's a small thing, but it makes all the difference.
Yes, that did it. I did just copy/paste your code. I didn't realize the # was in the wrong place. I am also seeing one more issue on these pages:
http://blacktipit.com/contact/
http://blacktipit.com/client-agreement/
Each page is a full contact form and look what it does to the widget. Any ideas?
Try setting your form that you're using for the widget back to the "top label" option. Then, you can do this to hide the field label.
[css]
body #gform-wrapper_4 li#field_4_3 label.gfield_label {
display: none;
}
the left label option that you're using now is still applying a 29% width to the label element thats there, even thought the tag is empty.
We are so close! I pasted your code and made the widget form a top label. Now, if you look at those two pages, the widget form submit button is off. Did I forget another #?
Kevin - just checking in with you (I know that you're busy and really appreciate the help). Any ideas on how to fix the layout here?
Thanks again,
Matthew
I didn't forget you Matthew. I promise. I'm circling back around to your site again in a few and will let you know what I come up with.
Thanks so much!
Matthew,
Thanks for your patience. I was stuck on something else for a while. It looks like we have to be really specific with the CSS inheritance to override the default styles here. Change your existing rule to this and see how it works for you. It worked fine in my test.
[css]
html body.page div#gform_wrapper_4.gform_wrapper form#gform_4 div.gform_body ul#gform_fields_4.gform_fields li#field_4_3.gfield label.gfield_label {
display: none;
}
screenshot: http://bit.ly/rlBF65
Definitely better! Is there a way we can tighten up the layout so that it matches the other form to the right?
You'll just have to tinker with it from here. Look at the other form and see what the padding/margins etc. are and just apply the necessary properties to the new form fields that we've already targeted.
Ok, those forms are just in their default state. I'll try to do some tweaking.