Screenshot of Views configuration showing the radio button for 'Plain' selected amid 'Grid', 'HTML list', 'Table', and 'Unformatted list'.
Source code of an HTML page showing no divs between items in output of Views markup.

Views display style that removes all the wrapper markup between items.

Instead of <div><article … /></div> you will have your content output as one article tag after another, or whatever the content of your rows is, without surrounding divs.

This is the Drupal views style plugin for plain listings, no wrappers.

Installation

composer require drupal/views_plain

Configuration

While editing a View, select the 'Plain' option under 'Format'.

Notes

This module does not (yet) remove the divs surrounding the view itself: #3389592: Remove more unneeded divs from around the whole view and the item listing as a whole

Supporting organizations: 
Maintains Drupal 10+ having found the module they were going to make already exists.

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • chart icon36 sites report using this module
  • Created by colorfield on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    Look for the shield icon below.

Releases