Unless I am missing something that already exists for this in the block.tpl.php , I think that there should be the ability to column size directly the the main block wrapper. If I have more than one block in a region and I want them to line up in a row (Ex. <div class="columns seven block-block1"></div><div class="columns five block-block2"></div>) there is no way to add that.

Ideally for usability, it would be best to be able to set that when creating a block, right in the interface.

Thoughts?

Comments

Bcwald’s picture

I realized the functionality I speak of can be achieved by http://drupal.org/project/block_class. This may be something you want to note in the documentation as as solution for adding multiple blocks in a single region.

ishmael-sanchez’s picture

Status: Active » Fixed

Unless I am missing something that already exists for this in the block.tpl.php

You can easily do this using a preprocess function, there is a an example in STARTER/template.php STARTER_preprocess_block function. Also check out #1893720: Best way to use Foundation elements? which has some suggestion for implementing other elements besides blocks.

@SweetCircus seems like you found a solution for this so I'm marking as fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.