Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    With our plugin, stylize a checkbox is similar that in the static forms.

    Each field in our plugin includes the attribute “Add Css Layout Keywords”, to assign a class name to the field, for example myclass, but the field is not only the <input type=”checkbox”> tag, it includes too other elements as a <div> tag around the checkbox. So. if you want edit specifically the styles of the checkbox displayed in the field, the style definition would be:

    .myclass input[type=checkbox]{ … }

    Note: Define the new style, in any of css files in your WordPress.

    Best regards.

    Thread Starter rwilki

    (@rwilki)

    Thanks so much. I had to add some extra css declarations but I got it to work. Thanks again!

    Bob

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can I use CSS to stylize a checkbox?’ is closed to new replies.