Controlling
Drupal Markup
Bringing us back to One Div To Rule Them All!
Controlling Drupal Markup
Module: Fences
Enable class overrides
Select HTML5 element on a per field basis
Controlling Drupal Markup
Module: Display Suite Extras
Enable Display Suite Extras and activate field
Controlling Drupal Markup
Module: Display Suite Extras
Select HTML5 element on a per field basis
Controlling Drupal Markup
Module: Views
Create a custom class
Controlling Drupal Markup
Module: Views
Cleanup your row markup
Controlling Drupal Markup
Module: Views
Customize your field markup
Controlling Drupal Markup
Module: Clean Markup
Create a custom block class
Controlling Drupal Markup
Module: Clean Markup
Create a custom panel pane or panel region class
Controlling Drupal Markup
Theme
For when you find yourself repeating yourself...
- Much of this can be configured on the theme level with TPL
- Create your own starter theme or a collection of TPL files
- Capture settings you are implementing on every project
- Look to other themes for inspiration