Upgrade Your Drupal Skills

We trained 1,000+ Drupal Developers over the last decade.

See Advanced Courses NAH, I know Enough

fields theming in Drupal8, kill the divitis

Parent Feed: 

I finally got to take a long & hard look at fields and why they have so much divitis + a solution of how to change it for Drupal8. It ended up beeing a ton of markup & css examples on a flat html page
take a look please provide feedback, here or on the issue or at my twitter etc.

If its to long to read then heres the short version: Yes we can fix the divitis, but well have to break out of having the same pattern for all kinds of fields (single, multiple, label & without)

the issue on d.o

& the theme system in Drupal8 is gonna be awesome(if you were wondering)

more info about Drupal Twig on drupaltwig.org
the principles we build Drupaltwig on

Author: 
Original Post: 

About Drupal Sun

Drupal Sun is an Evolving Web project. It allows you to:

  • Do full-text search on all the articles in Drupal Planet (thanks to Apache Solr)
  • Facet based on tags, author, or feed
  • Flip through articles quickly (with j/k or arrow keys) to find what you're interested in
  • View the entire article text inline, or in the context of the site where it was created

See the blog post at Evolving Web

Evolving Web