Tagged: x
-
AuthorPosts
-
November 2, 2016 at 10:22 am #1240890
Wardo_SDParticipantHello!
I am having problems with the three column layout in gravity forms on my site. I used the standard two column css fix I found on the x forum to try to resolve the layout issue, but it didn’t work in this case. This is the CSS I added:body .gform_wrapper .top_label li.gfield.gf_left_half, body .gform_wrapper .top_label li.gfield.gf_right_half, body .gform_wrapper .top_label li.gfield.gf_left_third, body .gform_wrapper .top_label li.gfield.gf_middle_third, body .gform_wrapper .top_label li.gfield.gf_right_third { float: none !important;}Here is what I would like to achieve: I want first name, last name and phone number on the first row, event date, event type and number of guests on the second line, and the message on the third as a fullwidth row. I have attached a screenshot of the broken layout. What do you suggest?
Thanks for the help!!
November 2, 2016 at 10:23 am #1240895
Wardo_SDParticipantThis reply has been marked as private.November 2, 2016 at 12:08 pm #1241101
ChristianModeratorHey Wardo,
Please add the code below in your Appearance > Customize > Custom > Global CSS
body .gform_wrapper .top_label li.gfield.gf_left_half, body .gform_wrapper .top_label li.gfield.gf_right_half, body .gform_wrapper .top_label li.gfield.gf_left_third, body .gform_wrapper .top_label li.gfield.gf_middle_third, body .gform_wrapper .top_label li.gfield.gf_right_third { float: none; } body .gform_wrapper .top_label input.small, body .gform_wrapper .top_label select.small, body .gform_wrapper .left_label input.small, body .gform_wrapper .left_label select.small, body .gform_wrapper .right_label input.small, body .gform_wrapper .right_label select.small { width: 100%; } @media only screen and (min-width: 641px) { .gform_wrapper .top_label li.gfield.gf_left_third:not(.gfield_time_hour):not(.gfield_time_minute):not(.gfield_time_ampm), .gform_wrapper .top_label li.gfield.gf_middle_third:not(.gfield_time_hour):not(.gfield_time_minute):not(.gfield_time_ampm) { width: 29.3%; } }Let us know how it goes.
Thanks.
November 2, 2016 at 1:01 pm #1241184
Wardo_SDParticipantMan, you guys are AWESOME!!
Thanks so much, it worked perfectly!!November 2, 2016 at 1:40 pm #1241239
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1240890 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
