The Stiz Media, LLC

Making your website work for you

  • Styles for Genesis
    • FAQs
  • Cart
  • My Account
  • Home
  • Web Design
  • Portfolio
  • Resources
  • Blog
  • Contact

Powerful websites, with style.

Home » Blog » Radio buttons as toggle buttons with CSS

Radio buttons as toggle buttons with CSS

November 17, 2015 JiveDig

Radio button toggles

Updated: March 15, 2019 to use Flexbox instead of float 🙌

Form inputs are annoying, let’s face it. There is a ton of data showing the more fields you have in a form, the higher the bounce rate of that form. I decided to play with radio buttons and try make them more like simple toggle buttons. After a bit of playing, I got it working in a clean, easy to use style. This makes your form very clear and fast to fill out for your user. Win.

Let’s see it in action

You can play with the CodePen below to see/feel it actually working.

See the Pen Radio button toggle switch by Mike Hemberger (@JiveDig) on CodePen.

Some key points to note:

  • The regular radio input is hidden with “appearance: none;” “display:none;” screen reader text CSS taken from Genesis.
  • The input label actually becomes the pseudo-buttons

Other then that, it’s pretty straightforward. Give it a try and let me know what you think in the comments!

Related Posts

  • Remove Avatar
    Remove Avatar from Genesis Author Box
  • A really organized life
    Genesis Page Templates in a subdirectory
  • Show Field Keys in ACF Pro
    Show Field Keys in Advanced Custom Fields Pro

Tutorials

‹ Front End Post Editing with Caldera Forms
Grid Column Generator ›

Try The Most Powerful Genesis Child Theme Ever Created

Mai Theme is the most customizable Genesis child theme (and plugin!) available. Check it out now!

Learn More @ MaiTheme.com

Our posts, directly to your inbox

Our posts, directly to your inbox


Howdy, I'm Mike Hemberger. I like to build nice websites and web apps with WordPress and Genesis Framework.

I'm passionate about everything I do, and it resonates in all of my work.

Feel free to email, and you'll be speaking directly with me.

Recent Posts

Restful P2P Example

Create Posts 2 Posts ‘connections’ with the WordPress Rest API

EA Share Count SMS button

Add SMS share button to EA Share Count plugin

ACF Extras

ACF Extras officially launched! A community of code snippets and field groups

Remove Items from TinyMCE editor

Remove Buttons/Items From The WordPress TinyMCE Editor

  • My Account
  • Affiliate Area
  • Log In|Log Out
  • GitHub
  • Instagram
  • Twitter
  • YouTube

Copyright © 2025 · The Stiz Media, LLC · All Rights Reserved