When logged in as admin, the classes for certain blocks change, as "context-" is added to class-names. This doesn't make sense, as it can break the design (e.g. when setting a width for .block). A friendlier approach, would be to add these classes in addition to existing ones.

Comments

jelenex’s picture

I've just noticed this too. Context module normally wraps the enabled blocks with extra markup in order to support inline editing. You can disable this in your theme by adding following code to "template.php":

function yourtheme_preprocess_context_block_editable_region(&$vars) {
  $vars['editable'] = FALSE;
}
tim.plunkett’s picture

This needs documentation somewhere! I thought it was related to #633778: Conflict with themes implementing theme_blocks(), I'm glad I noticed this issue.

yhahn’s picture

Status: Active » Closed (duplicate)