Change checkbox/radio layout to vertical on mobile devices

Change WordPress form checkbox/radio layout to vertical on mobile devices

// You can change 800px to something more suitable for your needs if needed
@media (max-width: 800px) {
  .super-form .display-grid .super-items-list {
    flex-direction: column!important;
  }
  .super-form .display-grid .super-items-list .super-item {
    width: 100%!important;
  }
}

Last updated