Webflow Layout Techniques

Glossary w/ Letter Groupings

Overview
Responsive Layout Techniques
Intro
102
Element Layouts
Aspect Ratio
Int
201
Responsive Image Annotations
Int
6:50
202
Collection List Alternating Item Layouts
Int
4:32
601
Collection Page & Collection List Layouts
Collection List Card Layouts
Int
4:32
601
Creating Variable Layout Options, per Collection Item
Int
11:46
602
Random List Items on Every Page Refresh
Intro
10:00
603
Variable Collection Item Sizes in a Grid Layout
Int
603
Limit Collection List Items by Breakpoint
Intro
10:00
604
Hide Collection List on Empty, or Item Qty
Intro
605
Responsive Pagination
Intro
605
Masonry Grid Layouts
Intro
607
Glossary w/ Letter Groupings
Intro
612
Master-Detail Layouts
Master-Detail Layouts
Intro
710
CMS-Driven Expando
Intro
19:42
714
CMS-Driven Modals
Intro
715
Special Layouts
Creating Leader Lines
Int
5:54
821
Photo Gallery Layouts
Int
821
Column Layouts
Int
822
Text Layouts
Int
823
Checkerboard Grid Styling
Int
824
Advanced Techniques
Breakpoints
Adv
901
No items found.

Webflow's CMS Lists do not have a native "grouping" feature, however with a bit of ingenuity and the use of conditional visibility, it's possible to create neatly grouped lists.

If you like, you can further add in-page navigation to make it easily accessible.

In this tutorial, we'll build a standard A-Z Glossary with letter grouping and a navigation bar.

Webflow's site has a page with this type of item grouping here.

Resources

Code

Notes

This demonstration is centered on an alphabetic grouping, and has an easily identifiable distinction between group-header-items and content-type items, in the presence or absence of description content.

Despite that, this grouping technique should be adaptable to other CMS list grouping use-cases as well.

There are only three key mechanics at work;

  1. All of the headings and the items must be in the same collection list
  2. They must be distinguishable from each other using conditional visibility. The absence or presence of content in a field is one approach, another is to create a Yes/No switch and manually identify your headers.
  3. They must be sortable so that the headers are in the right position among the group they represent. One way to do this is to assign every member of the group a identifier such as a group code, and to assign this to the header as well. Sort on that code, and as a secondary field, sort on your Yes/No switch field, and then the Name of the items. This will bring the groups together, with the header as the first item and the items sorted by name ( or other field you want them sorted by ).

Pagination

Pagination will mostly work, however if you are on page 2, the heading will not be repeated on that page. You'd see the content items, without a group header, until the next group begins.

Table of Contents
Did we just make your life better?
Passion drives our long hours and late nights supporting the Webflow community. Click the button to show your love.