Tagged: x
-
AuthorPosts
-
August 30, 2016 at 10:33 am #1153530
spencerdauphinParticipantHi,
I am trying to change the field label color from black to white on all gravity forms on my website.
I have managed to change the section labels but not the field labels. By manually editing the css in chrome, I can see that #top label section is responsible for this but cannot seem to override that using the custom CSS.
By using:
.gform_wrapper .left_label li.field_sublabel_below .gfield_label { color:#ffffff; font-size:16px; font-weight:bold; background-color:#ffffff; }I can change the font size, weight and background color but not the text color…
It looks like #top label color is set elsewhere??
Cheers
SpenceAugust 30, 2016 at 11:02 am #1153575
RupokMemberHi there,
Thanks for writing in! We need to check from URL that from where the other CSS is loading but it seems coming from custom CSS as well (maybe page level CSS) or plugin since there is no such code on theme.
However you can also use !important to force your CSS :
.gform_wrapper .left_label li.field_sublabel_below .gfield_label { color:#ffffff!important; font-size:16px; font-weight:bold; background-color:#ffffff; }Thanks!
August 30, 2016 at 11:25 am #1153614
spencerdauphinParticipantThis reply has been marked as private.August 30, 2016 at 12:03 pm #1153679
RupokMemberHey Spence,
Thanks for detailed info with credentials, it always help to dig a bit deeper. However I can see you have added hte code in page level CSS in Cornerstone Tab for the page – http://prntscr.com/cc66qp
Let’s remove this to get expected result.
Cheers!
August 31, 2016 at 3:01 am #1154716
spencerdauphinParticipantThanks Rupok!
Not sure how that got there or why that was there.
Was definitely the fix though 🙂
Cheers
SpenceAugust 31, 2016 at 3:37 am #1154747
FriechModeratorWe’re delighted to assist you with this 🙂
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1153530 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
