Closed (fixed)
Project:
ZURB Foundation
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 Jan 2013 at 00:35 UTC
Updated:
10 Feb 2013 at 05:10 UTC
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
Comment #1
Bcwald commentedI 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.
Comment #2
ishmael-sanchez commentedYou can easily do this using a preprocess function, there is a an example in STARTER/template.php
STARTER_preprocess_blockfunction. 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.