Tagged: x
-
AuthorPosts
-
August 6, 2016 at 5:39 am #1120078
Simon TParticipantHey Guys,
I’m trying to set my gravity forms to have two columns by adding CSS classes of gf_left_half and gf_right_half but the form is still displaying as one column.
I asked the GF support team for advice and their response is below. Can someone please advise:
“I’m afraid the issue with the CSS Ready Classes is being caused by the theme which is including it’s own custom Gravity Forms stylesheet which is overriding the default styles:
Gravity Forms 2.0 does include a lot of style changes so the theme developer would need to update their custom stylesheet so it is compatible with those changes.
This rule inparticular is causing the layout issue with fields using the gf_left_half and gf_right_half classes:
https://www.dropbox.com/s/x9amefiz867d5sc/Screenshot%202016-08-06%2011.34.37.png?dl=0
They are setting the float rule to left, Gravity Forms no longer uses floats for the CSS Ready Classes as they are bad for responsive design.
You’ll need to contact the theme developer to see if they have an updated version of the theme compatible with the new version of Gravity Forms”
August 6, 2016 at 5:40 am #1120080
Simon TParticipantThis reply has been marked as private.August 6, 2016 at 6:01 am #1120090
ThaiModeratorHi There,
You can override that CSS by adding the following CSS under Customizer > 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; }Hope it helps 🙂
August 6, 2016 at 6:17 am #1120103
Simon TParticipantThank you Thai,
How do I set the size of the input boxes to be all the same?
August 6, 2016 at 7:02 am #1120123
ThaiModeratorHi There,
Please add the following CSS:
.gform_body .gform_fields .gfield .gfield_select { height: 53px !important; color: #000 !important; }Hope it helps 🙂
August 15, 2016 at 1:12 am #1131438
Simon TParticipantHey guys, I have moved the website to clients hosting (www.sportingedge.co.nz) and the code below no longer works to make the fields the same size. Any idea why?
.gform_body .gform_fields .gfield .gfield_select {
height: 53px !important;
color: #000 !important;
}August 15, 2016 at 1:18 am #1131441
ChristopherModeratorHi there,
I would like to check your site but it’s under construction mode, please provide us with login credentials.
Thanks.
August 15, 2016 at 1:21 am #1131444
Simon TParticipantThis reply has been marked as private.August 15, 2016 at 1:34 am #1131452
ChristopherModeratorPlease provide us with authentication credentials.
Thanks.
August 15, 2016 at 1:35 am #1131457
Simon TParticipantSorry I’m not sure what you mean?
August 15, 2016 at 1:55 am #1131468
ChristopherModeratorPlease see the attachment.
Thanks.August 15, 2016 at 2:42 am #1131507
Simon TParticipantPlease try again now?
August 15, 2016 at 2:47 am #1131513
ChristopherModeratorStill asks for authentication credentials.
Thanks.
August 15, 2016 at 2:53 am #1131520
Simon TParticipantHi Christopher, I have asked my host about this and they were unable to tell me why you are getting that message. Another support staff member Rupok seems to be getting into my website ok (on another support ticket)
Could someone else at your end try perhaps? Sorry for the hassle…
August 15, 2016 at 3:22 am #1131549
LelyModeratorHi Simon,
Upon checking, that custom CSS is working. See attached screenshot.
***Update: Sorry I did check the test site and not the live site. Same with Christopher, I got the same issue. We need authentication credentials to access your live site.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1120078 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
