Beautiful Marketo Forms: Styling Checkboxes and Radio Buttons


Your Marketo forms don’t have to be boring. With a little extra CSS you can create beautiful Marketo forms with customized checkboxes and radio buttons. In this tutorial, I’ll show you how you can style checkboxes and radio buttons within Marketo forms with minimal coding.

Before we begin…

Let’s refresh on how to add custom CSS to your Marketo forms.

Navigate to the form and open up the form editor. Click on Form Settings > Form Theme > Edit Custom CSS this is where you can paste in your own CSS.


Marketo requires that you select one of their themes to start. Changing themes will affect the CSS. For this tutorial, I will be using the “simple” theme which is the default theme when you create a new form.


Note: If you don’t select the “simple” theme for your form this tutorial won’t be copy & paste.

Styling Checkboxes

One of the downsides of using Marketo forms is the inability to modify the HTML structure of the form, so I will be leveraging the standard Marketo HTML to style the checkboxes.


The standard HTML for a checkbox in a Marketo form looks like this:

Notice how the all the checkboxes are wrapped in a DIV with the class mktoCheckboxList? This is how we will target the checkbox input and the checkbox label within the CSS.


For the CSS, FontAwesome will be loaded to display the checkmark for the checkbox. The default checkbox will be hidden and the ::before selector will be used to style the new checkbox.

The Result

The styled checkboxes will look like this once the CSS has been added to the Marketo form.

See the Pen Marketo Customized Checkboxes Using CSS (option 1) by Jenna Molby (@jennamolby) on CodePen.

Styling Radio Buttons

Styling radio buttons are pretty similar to the checkboxes, but with a bit of extra CSS to make them look like a radio button. Just like the checkboxes, we will leverage the HTML that Marketo provides, so all you have to do is add some CSS.


All radio buttons in the Marketo form are wrapped in a DIV with the class mktoRadioList. This is how we will target the radio input and the radio label within the CSS.


Just like the CSS for the checkboxes, FontAwesome will be loaded to display the checkmark for the radio button and the default radio button will be hidden.

The Result

See the Pen Marketo Customized Radio Buttons Using CSS (option 1) by Jenna Molby (@jennamolby) on CodePen.

Special thanks to Karen Menezes who wrote a great tutorial on pure CSS checkboxes, which I referenced to make this Marketo tutorial.


Send them to me via email, send me a tweet @jennamolby, or leave a comment

Related Posts

  • 08/09/2017
    How to Create Responsive Marketo Forms

    Marketo forms, by default, have set widths for many elements including all the form fields, labels and even the form itself. If you’re embedding your form in a responsive landing page, you might want to make the form fully responsive as well. With a bit of CSS, you can make your one-column and two-column Marketo forms look great on every device.

  • 05/07/2017
    Make Your Marketo Forms More User-Friendly With This Tip

    I was registering for a webinar this week and when I went to select my Country from the drop-down, I was greeted with a search feature for the drop-down. I immediately started Googling what JavaScript plugin they were using to see if I could use it on Marketo forms. It turns out, you can and not only is it super easy to implement, but it also makes long drop-down in your Marketo forms more user-friendly. I’ll walk you through how I did this in 4 easy steps.

  • 27/10/2016
    How to Create a 2 Column Pardot Form

    After launching my Form Style Generator for Pardot Forms, the number one question I receive is ‘how do I create a 2 column form in Pardot?’ I might update the style generator to include this in the future, but in the meantime, here’s how to create a 2 column Pardot form with minimal coding.

6 comment(s)
  • Douglas Welcome

    03/04/2018 at 3:32 pm

    Hello Jenna, Thanks for this great Tutorial. Wondering if you know how to get the required asterisk to drop down to the left of the check/radio box rather sit there floating above? Tried a bunch of different tactics and didn't have much success.

  • Charles

    28/08/2017 at 6:38 am

    Hello, Nice tutoria, however I do not manage to have the checkmark loaded. I have copy and paste but not sure that the import url command works. Could you help me to sort that out please?

    • Jenna Molby
      to Charles

      28/08/2017 at 8:53 am

      Hi Charles, Please share your landing page URL so I can help you troubleshoot. Thanks, Jenna

  • Bear F

    23/08/2017 at 8:56 am

    Great tutorial, copy pasted your code in and my Marketo checkboxes are much nicer now.

  • Brie

    15/08/2017 at 9:39 am

    hello!! I was curious if you knew how to make the radio buttons next to each other opposed to two lines- so I have a yes, no radio button and i want them on one line opposed to two?? Any guidance is greatly appreciated. Thank you!

    • Jenna Molby
      to Brie

      15/08/2017 at 11:17 am

      Hi Brie, You can add this CSS to your form to make the radio buttons side-by-side .mktoForm .mktoRadioList > label {float:left !important;clear:none !important;margin-left:5px !important; margin-right:10px !important;}

Leave A Comment

Your email address will not be published. Required fields are marked *

About Me

Welcome to my blog, where I share, tips, tricks, thoughts and solutions that I learn in my daily life as a sales and marketing professional.


Most Commented
Popular Posts