If you use Boostrap theme and IMCE, the chekboxes inside IMCE content are not show correctly. The problem comes from IMCE CSS that it's adding:

imce error with bootstrap

#imce-content {
  margin: 0;
  padding: 0;
}

Solutions:

  1. Encourage IMCE to use CSS class selection instead of ID.
  2. Override the missing margins in Bootstrap template for checkboxes in IMCE content.
CommentFileSizeAuthor
#2 imce-content.png33.18 KBoriol_e9g
imce-content.png108.91 KBoriol_e9g
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

oriol_e9g created an issue. See original summary.

oriol_e9g’s picture

FileSize
33.18 KB
oriol_e9g’s picture

Issue summary: View changes
markhalliwell’s picture

Assigned: oriol_e9g » Unassigned
Category: Bug report » Feature request
Status: Active » Closed (won't fix)

The problem comes from IMCE

Considering that core bundles CKEditor and most people use CKEditor, this should be treated as a customization that can easily be fixed in a sub-theme.

oriol_e9g’s picture

If someone has this same problem with IMCE+Bootstrap we use this fix in our sub-theme:

#imce-content .form-checkbox {
  margin-left: -20px;
}
#imce-content .checkbox .control-label {
  margin-left: 20px;
}