WordPress.org

Support

Support » Plugins and Hacks » Calculated Fields Form » [Resolved] Can I use CSS to stylize a checkbox?

[Resolved] Can I use CSS to stylize a checkbox?

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.

    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 ‘[Resolved] Can I use CSS to stylize a checkbox?’ is closed to new replies.
Skip to toolbar