Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Blocks should render the appropriate classes for zurb to work
Problem/Motivation
Blocks should use the approrpriate scaffolding classes provided in zurb
Proposed resolution
todo...
Comments
Comment #1
chrisjlee CreditAttribution: chrisjlee commentedComment #2
ishmael-sanchez CreditAttribution: ishmael-sanchez commentedHi Chris,
My thinking on this is column widths defined in the page template would confine the blocks and if particular block/s need more classes that could be done using preprocessing or a template file. Let me know your thoughts on scaffolding classes.
Comment #3
chrisjlee CreditAttribution: chrisjlee commented@ishmael-sanchez can you expand on this? Sorry, I'm not totally getting what you're trying to describe.
Comment #4
ishmael-sanchez CreditAttribution: ishmael-sanchez commentedHi Chris,
Thanks for your note. Can you tell me what you are envisioning? You said
for your motivation, so I'm just trying to address issues in the queue. Let me know what you think.
Comment #5
chrisjlee CreditAttribution: chrisjlee commented@ishmael-sanchez Oh i see. Well, I'm just trying to go off of your particular task ( #1779074: Clean up markup in some default Drupal templates and functions ) so that we can all move toward a stable release.
What i was interpreting from your task was that you download the drupal zurb theme each block should demonstrate block class usage in action. There should be some example blocks that come with this theme that you can enable and disable by renaming the file name, etc.
So for every block they should have a column class and the how many grid widths it should take:
Possibly even an example page that mimics the foundation docs:
http://foundation.zurb.com/docs/grid.php
What were you envisioning?
Comment #6
ishmael-sanchez CreditAttribution: ishmael-sanchez commentedHere is what was done and committed:
In the core theme
In starter