# Possible? If not, any ideas? (custom radio buttons for donation amounts) \[RESOLVED\]

**URL:** <https://community.gravityforms.com/t/possible-if-not-any-ideas-custom-radio-buttons-for-donation-amounts-resolved/3859>\
**Category:** Get Help\
**Tags:** custom, css, jetsloth, donations\
**Created:** [February 10, 2020, 4:53am UTC](https://community.gravityforms.com/t/possible-if-not-any-ideas-custom-radio-buttons-for-donation-amounts-resolved/3859 "2020-02-10T04:53:01Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![vitamineg](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/vitamineg/32/156_2.png) [@vitamineg](https://community.gravityforms.com/u/vitamineg)\
**Post date:** [February 10, 2020, 4:53am UTC](https://community.gravityforms.com/t/possible-if-not-any-ideas-custom-radio-buttons-for-donation-amounts-resolved/3859/1 "2020-02-10T04:53:01Z")

</div>

Hey all, I’m working on a donation form and really like the idea of user being able to simply select a dollar amount … similar to what can be seen in the image.

Another, and more complete example (please no politics), is [this donation form [link].](https://secure.winred.com/kevin-mccarthy/take-back-trumps-majority)

While I don’t think this is possible with Gravity Forms, I’m not completely sure. If it _isn’t_ possible, any ideas on how to get it done?

 ![form](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/e/e98f2a2403fade4c0943aaedfa2b2f30e765bba4.png)

---

<div class="post-metadata">

**Author:** ![matthijsd](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@matthijsd](https://community.gravityforms.com/u/matthijsd)\
**Post date:** [February 10, 2020, 6:56am UTC](https://community.gravityforms.com/t/possible-if-not-any-ideas-custom-radio-buttons-for-donation-amounts-resolved/3859/2 "2020-02-10T06:56:17Z")

</div>

Edit: Phil Meyers reply below is better for this

Alternative:  
Probably a combination of these two could get you where you want to go:

Change radio select to (image) buttons: [https://jetsloth.com/gravity-forms-image-choices](https://jetsloth.com/gravity-forms-image-choices)

And the inline alignment:  
For example, to display the choices horizontally rather than vertically, enter the gf\_list\_inline CSS ready class in the field’s Custom CSS Class field under the Appearance tab:

> **[Radio Buttons - Gravity Forms Documentation](https://docs.gravityforms.com/radio-buttons/#example-changing-the-button-display)**
>
> The Radio Buttons field allows users to select one option from a list. Only one option from the available choices can be selected.

---

<div class="post-metadata">

**Author:** ![tcgsa](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/tcgsa/32/1057_2.png) [@tcgsa](https://community.gravityforms.com/u/tcgsa)\
**Post date:** [February 10, 2020, 10:50am UTC](https://community.gravityforms.com/t/possible-if-not-any-ideas-custom-radio-buttons-for-donation-amounts-resolved/3859/3 "2020-02-10T10:50:15Z")

</div>

Here you go:

> **[How to Turn Radio Buttons into Big Buttons in Your Gravity Form - Design TLC](https://designtlc.com/turn-radio-buttons-big-buttons-gravity-form/)**
>
> Radio Buttons are Ugly! Radio Buttons do not create an eye-catching set of options for a donation form. Styled, big buttons are much better looking, professional and appealing I recently reached out in Slack and got a quick solution to turning my...

---

<div class="post-metadata">

**Author:** ![vitamineg](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/vitamineg/32/156_2.png) [@vitamineg](https://community.gravityforms.com/u/vitamineg)\
**Post date:** [February 10, 2020, 3:33pm UTC](https://community.gravityforms.com/t/possible-if-not-any-ideas-custom-radio-buttons-for-donation-amounts-resolved/3859/4 "2020-02-10T15:33:45Z")

</div>

Great! Thanks you two. :)) I wonder if this is on the Gravity Forms dev team radar.

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [February 10, 2020, 4:16pm UTC](https://community.gravityforms.com/t/possible-if-not-any-ideas-custom-radio-buttons-for-donation-amounts-resolved/3859/5 "2020-02-10T16:16:40Z")

</div>

There is no plan at this time to incorporate this functionality into Gravity Forms. There are several possible approaches to it, using either CSS to create the ‘buttons’ or using the JetSloth image choices plugin, or equivalent.

---

<div class="post-metadata">

**Author:** ![vitamineg](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/vitamineg/32/156_2.png) [@vitamineg](https://community.gravityforms.com/u/vitamineg)\
**Post date:** [February 10, 2020, 6:09pm UTC](https://community.gravityforms.com/t/possible-if-not-any-ideas-custom-radio-buttons-for-donation-amounts-resolved/3859/6 "2020-02-10T18:09:17Z")

</div>

Follow up. All is good except, I can’t seem to hide the [type=radio] on my form using CSS.

Can someone take a quick gander and see what they come up with?

Here is link to [testPage](https://imaraacademy.org/testPage/) I have the form on [[LINK]](https://imaraacademy.org/testPage/)

Thank you.

---

<div class="post-metadata">

**Author:** ![tcgsa](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/tcgsa/32/1057_2.png) [@tcgsa](https://community.gravityforms.com/u/tcgsa)\
**Post date:** [February 10, 2020, 10:27pm UTC](https://community.gravityforms.com/t/possible-if-not-any-ideas-custom-radio-buttons-for-donation-amounts-resolved/3859/7 "2020-02-10T22:27:54Z")

</div>

Adding the following to your page using Developer Tools:

```
.gfield_radio input[type="radio"] + label:before {
	display: none;
}

.uael-gf-style .gform_wrapper .gfield_radio li label {
	margin: 0;
	width: 60px;
	padding: 5px;
}

```

… gave me the following:

![image](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/0/0ae2990f9aacfe24aa6f9b93d74eb0d36397e284.png)

You may have to play around with it a bit, but it’s definitely doable.

---

<div class="post-metadata">

**Author:** ![vitamineg](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/vitamineg/32/156_2.png) [@vitamineg](https://community.gravityforms.com/u/vitamineg)\
**Post date:** [February 11, 2020, 4:00am UTC](https://community.gravityforms.com/t/possible-if-not-any-ideas-custom-radio-buttons-for-donation-amounts-resolved/3859/8 "2020-02-11T04:00:46Z")

</div>

Whoa! Thanks for looking and showing me how to get it done @tcgsa … very much appreciated. ))

---

<div class="post-metadata">

**Author:** ![tcgsa](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/tcgsa/32/1057_2.png) [@tcgsa](https://community.gravityforms.com/u/tcgsa)\
**Post date:** [February 11, 2020, 6:31am UTC](https://community.gravityforms.com/t/possible-if-not-any-ideas-custom-radio-buttons-for-donation-amounts-resolved/3859/9 "2020-02-11T06:31:20Z")

</div>

No problem! Hope you can make it look the way you want it. Shout if there’s anything I can help with. 🙂

---

<div class="post-metadata">

**Author:** ![andydarnell](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/andydarnell/32/1936_2.png) [@andydarnell](https://community.gravityforms.com/u/andydarnell)\
**Post date:** [August 20, 2020, 10:39pm UTC](https://community.gravityforms.com/t/possible-if-not-any-ideas-custom-radio-buttons-for-donation-amounts-resolved/3859/10 "2020-08-20T22:39:28Z")

</div>

@tcgsa - Could you please help out with similar issue?  
Trying to accomplish similar restyling. I’m assuming what you added for @vitamineg was for Elementor. This site is using Beaver Builder.

> **[Donate - thriveworx](https://www.thriveworx.org/donate-2/)**
>
> Fund disruption Disrupt “To use the economic model of Thrive Farmers, multiplied by the social impact model of ThriveWorx, is unlike any other enterprise I’m privileged to be a part of.”Jay Hein, CEO Sagamore Institute “ThriveWorx is worth...

---

<div class="post-metadata">

**Author:** ![tcgsa](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/tcgsa/32/1057_2.png) [@tcgsa](https://community.gravityforms.com/u/tcgsa)\
**Post date:** [August 21, 2020, 12:17am UTC](https://community.gravityforms.com/t/possible-if-not-any-ideas-custom-radio-buttons-for-donation-amounts-resolved/3859/11 "2020-08-21T00:17:01Z")

</div>

Hi Andy,

I actually use Divi myself, but this was not a result of the page builder at all. You simply need to use some CSS footwork to get that effect.

This CSS code, which you could add to your page via a code module or something (I’m assuming) should help to get you started:

```
.gfield_radio input[type="radio"] + label:before {
	display: none;
}

.uael-gf-style .gform_wrapper .gfield_radio li label {
	margin: 0;
	width: 60px;
	padding: 5px;
}

```

I don’t remember if this code was specific to his form nor what I used for the orange background, but you could start with it and play around if you wanted.

Otherwise, If you could show me the page with the form I could take a look and try to give you something more specific.

Cheers,  
Phil

---

<div class="post-metadata">

**Author:** ![tcgsa](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/tcgsa/32/1057_2.png) [@tcgsa](https://community.gravityforms.com/u/tcgsa)\
**Post date:** [August 21, 2020, 12:39am UTC](https://community.gravityforms.com/t/possible-if-not-any-ideas-custom-radio-buttons-for-donation-amounts-resolved/3859/12 "2020-08-21T00:39:10Z")

</div>

Oh I found your form. Try sticking this CSS code in there and see what you get:

```
li.gfield input[type=radio] {
	display: none;
}

.gfield_radio li label {
	padding: 16px 20px;
	border: 1px solid #DBB19A;
}

ul.gfield_radio li {
	margin: 3.5%;
}

ul.gfield_radio li:last-child {
	margin-right: 0;
}

```

You can tweak and also experiment with background colors on hover and active etc.

Please let me know if this helped - I’m happy to help where I can.

Phil

---

<div class="post-metadata">

**Author:** ![andydarnell](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/andydarnell/32/1936_2.png) [@andydarnell](https://community.gravityforms.com/u/andydarnell)\
**Post date:** [August 21, 2020, 3:25am UTC](https://community.gravityforms.com/t/possible-if-not-any-ideas-custom-radio-buttons-for-donation-amounts-resolved/3859/13 "2020-08-21T03:25:54Z")

</div>

Awesome, Phil. You definitely got me started. I just need to keep cleaning up. I’m not a css person at all. This is where I need to grow for sure. Thanks!

---

<div class="post-metadata">

**Author:** ![tcgsa](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/tcgsa/32/1057_2.png) [@tcgsa](https://community.gravityforms.com/u/tcgsa)\
**Post date:** [August 21, 2020, 8:13am UTC](https://community.gravityforms.com/t/possible-if-not-any-ideas-custom-radio-buttons-for-donation-amounts-resolved/3859/14 "2020-08-21T08:13:02Z")

</div>

No problem Andy, I hope I made any sense at all - it was already way past pumpkin time in my neck of the woods…

I’m happy to help out if you want. If you get stuck perhaps create a temp. admin account and I could try and sort it out for you.

I wouldn’t call myself an expert by any stretch of the imagination, but I’ve had to dig myself out of enough holes in the past and might just be able to help you as well. 😉

---

<div class="post-metadata">

**Author:** ![dapro](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/dapro/32/2369_2.png) [@dapro](https://community.gravityforms.com/u/dapro)\
**Post date:** [November 2, 2020, 3:59pm UTC](https://community.gravityforms.com/t/possible-if-not-any-ideas-custom-radio-buttons-for-donation-amounts-resolved/3859/15 "2020-11-02T15:59:43Z")

</div>

Hey All,

I was trying to accomplish the very same thing but keep running into an issue with the buttons not sizing correctly, I tried adjusting the CSS but it stays the same.

Any help would be great!

Link to [test form](https://www.chcfinc.org/test-donation/)

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [November 2, 2020, 5:51pm UTC](https://community.gravityforms.com/t/possible-if-not-any-ideas-custom-radio-buttons-for-donation-amounts-resolved/3859/16 "2020-11-02T17:51:42Z")

</div>

Hi Marco. I moved your comment to a new topic and I will close this one. Can you please add a new post there to update the issue? Thank you.

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [November 2, 2020, 5:51pm UTC](https://community.gravityforms.com/t/possible-if-not-any-ideas-custom-radio-buttons-for-donation-amounts-resolved/3859/17 "2020-11-02T17:51:46Z")

</div>

Closed on November 2, 2020, 5:51pm UTC


