Support » Plugin: Contact Form 7 » Radio buttons as list

  • Resolved Judson


    I found this info but when I entered the line into the css stylesheet I got a fatal error message and it deactivated the plugin. Where exactly does this line of code go? Is there any other way to get the radio buttons to show as a list?

    Rendering checkboxes as block instead of original inline

    To render checkboxes as block boxes, add a line to the CSS stylesheet in your theme like below:

    span.wpcf7-list-item { display: block; }

Viewing 3 replies - 1 through 3 (of 3 total)
  • Neil Murray


    To change the style of your CF7 forms you would need to edit the CSS style sheets used by your WordPress theme.

    See Styling Contact Form for a general explanation of styling CF7 forms using CSS. If you are not familiar with CSS, this page also includes some links to where you can learn CSS.

    The most common and preferred method is to create a Child Theme and make any necessary additions to the CSS in the child themes style.css only, rather than directly in the themes styles.css. That way you don’t loose your changes when you update the theme.

    Use Firebug or Chrome Dev Tools to examine the HTML and CSS of your CF7 form in detail. Once you understand how the HTML and CSS is configured in your CF7 form, you should be able to see the CSS changes you need to change the appearance of the form to suit your requirements.

    Also good idea to target CSS classes & ids used within your CF7 forms only, so that your CSS changes don’t inadvertantly effect other elements on your website.

    If you are uncomfortable editing CSS style sheets you may prefer to use a custom CSS plugin like My Custom CSS.



    Thank you so much!

    Neil Murray


    If this resolves your question, it helps others contributing here, if you can flag your post as [resolved]

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Radio buttons as list’ is closed to new replies.