ExpressionEngine Snippet

{checkbox_field}

{if checkbox_field:image_full_width == "Yes"}col-md-12{if:else}col-md-6{/if}

{/checkbox_field}