Custom Fields
Support Meta Box Builder How to add icons to checkboxes?

  • Creator
  • #4349
    Resolved Lufrutta

    I made a long checkbox_list with the Meta Box Builder plugin. Is there a possibility to add a different icon in front of each checkbox or instead of the label of the cb?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
  • #4350
    Anh Tran


    I think the only way to do that is using custom CSS, something like this:

    input[type="checkbox"][value="xxx"] {
        background: url(image.jpg);

    By default, the plugin outputs the checkbox only and CSS is the only way I think can resolve this.

    Edit: Sorry, I was thinking about normal checkbox fields built without the Builder. I think the Builder don't have such feature.


    CSS does not work. The code seems to be OK but will not be rendered in the backend. So I set it within the label field of the Buider and it worked. Not really professional, isn't it?

    Metabox Builder

    Anh Tran

    That also works :). Remember to strip_tags on the frontend when you retrieve the meta value 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.