Check your version

This video covers a topic in Drupal 7 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 7, but we consider it archived.

Views HTML List Format

Video loading...

Transcript language code: 

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:04
    Now let's take a look at the
  • 0:05
    HTML list format in Views. Let's examine its default markup,
  • 0:10
    and how to add CSS classes to various elements.
  • 0:15
    All right, now let's change the format to HTML list and see what changes in the markup.
  • 0:20
    From the contextual menu, I'll once again select edit view,
  • 0:24
    and under Format, I'll select unformatted list. This brings us to a setting
  • 0:30
    that allows us to change how the view should be styled,
  • 0:33
    and I'll select HTML list and apply this display. This kicks us over to
  • 0:39
    a settings form for this format. And while there are some similar
  • 0:45
    settings to unformatted list, including the row class and the
Loading ...

Views HTML List Format


Continuing our look at how Views' formats affect your markup, in this tutorial we'll take a look, step-by-step, at the HTML list format in Views. We'll examine its default markup and how to add custom CSS classes to various elements.

Log in or sign up to download companion files.
Additional resources: