In my subtopic Bootstrap 3.3 my block has this ID :


I just created a Bootstrap 3.4 subtopic and now my block automatically has this ID :


Bootstrap adds the machine name of the subtopic to the block ID.

This is valid for all block IDs. Why blocks are automatically renamed ?


zenimagine created an issue. See original summary.

markcarver’s picture

Status: Active » Closed (cannot reproduce)

This isn't an issue caused by this project.

The block.vars.php file really hasn't changed that much in 7.x-3.x and certainly has never changed any IDs.


On a side note, and along with AJAX reasons, this is why you don't target IDs of elements but rather specific classes or data attributes.