Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #978909

    Hi, could you please help me.

    I want to change the styling of my gravity forms but I don’t know where to find the code to edit the colors. The form can be found here https://www.zwembadbranche.nl/dag/aanmelding-zwembadbranche-dag/

    I want the backgroundcolor of the form fields to be #ffffff and I want a small grey border around the form fields, just like this form. https://www.vakbeurssportaccommodaties.nl/nl/bezoeker/registreer

    Is it also possible to edit the color of the radio field buttons to our main color #2997ab

    Thanks in advance for your help!
    Best regards
    Raymond

    #979007

    Hey raymondleever,
    If you know how to use the browser inspector, you can see the exact classes and styles that you will need to achieve the exact styles you want.

    Best regards,
    Jordan Shannon

    #979008

    Hi,

    Also, to the second half of your question, a radio button is a native element specific to each OS/browser. There is no way to change its color/style, unless you want to implement custom images or use a custom Javascript library which includes images

    Best regards,
    Jordan Shannon

    #979073

    Hi Jordan, if I could find it I wouldn’t ask…
    So I tried to find the code but I failed.
    I am very sorry, but could you please help me a bit more…

    #979082

    Hi,

    Add this to quick css:

    #gform_fields_66 input{
    background:#fff!important;
    border:1px solid #c9c9c9!important;
    }

    Best regards,
    Jordan Shannon

    #979088

    Hi Jordan, you are the best!
    Now this only changes the form id #66. But is it also possible to change this for all of my Gravity Forms?

    #979093

    Hi,

    Adjust the code to this:

    .gform_page_fields input{
    background:#fff!important;
    border:1px solid #c9c9c9!important;
    }

    Best regards,
    Jordan Shannon

    #979100

    Hi Jordan, Thanks for your prompt reply!
    I looks this time your magic is not working… I have copied the code but now nothing changes. I have also tried different browsers and have cleared my cache

    #979105

    Hi,

    Are you adding my code to the very top of quick css so that it runs first?

    You can also go very general with this:

    input{
    background:#fff!important;
    border:1px solid #c9c9c9!important;
    }

    Best regards,
    Jordan Shannon

    #979115

    Yep I have inserted the code at the very top, but nothing changes.
    Also the general code does not seem to work

    #979852

    Hi,
    Perhaps it was a cache issue, because when I look at your form it has a white background & gray boarder, Please see screenshot in Private Content area.
    Is this correct now?

    Best regards,
    Mike

    #979888

    Hi Mike,

    It seems to work now.
    But now the “submit” and other buttons are also white with a thin border. Just like the square of the search field part of the site also disappeared due to this adjustment…

    #979892

    Hi,
    Please try replacing the css with this css:

    .gform_page_fields input[type='text']{
    background:#fff!important;
    border:1px solid #c9c9c9!important;
    }

    Then please clear your browser cache and check.

    Best regards,
    Mike

    #979902

    Hi Mike,
    Thanks for your help, it seem to work, but only on this page https://www.zwembadbranche.nl/dag/aanmelding-zwembadbranche-dag/
    Other pages such as

    Don’t seem to work. Also the dropdown fields in the form are still gray. Maybe you have an other work-around to solve this?

    #979910

    Hi,
    Please try:

    .gform_page_fields input[type='text'],.gfield_select,.ginput_container input[type='text'],.ginput_container textarea {
    background:#fff!important;
    border:1px solid #c9c9c9!important;
    }

    Best regards,
    Mike

    #980017

    Hi Mike,
    We are almost there! Now for 99% I am happy with this styling! Many thanks for your help!
    Now the only small thing missing is the arrow in a dropdown field is gone…

    #980080

    Hi,
    Please try this instead:

    .gform_page_fields input[type='text'],.ginput_container input[type='text'],.ginput_container textarea {
    background:#fff!important;
    border:1px solid #c9c9c9!important;
    }
     #top .gform_wrapper select {
    background-color: #fff !important; 
    border:1px solid #c9c9c9!important;
    }

    Best regards,
    Mike

    #980090

    Thanks a million Mike!

    #980101

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘styling gravity forms’ is closed to new replies.