11.26c19v11 List Section: Awards & Exhibitions List – Year, Title and Venue in Columns

List Section always stacks the title above the description, so an awards or exhibition list ends up looking like cards. This CSS lays each item out as one table row: year on the left, title in the middle, venue on the right, with lines between rows.

11.26c19v11

#1. Install Code

#1.1. First, add a List Simple

#1.2. Enable these

11.26c19v11

#1.3. Edit Section Title > Enter 2 Paragraphs + Alignment: Left

11.26c19v11

#1.4. Edit Item Title > Enter text with this format

11.26c19v11

#1.5. Set 1 Column + Alignment: Left

11.26c19v11

#1.6. at Design > Size & Space > Set Content Width = 100%, Space Between Rows = 0px

11.26c19v11

#1.7. Hover on top right of List > Click EDIT SECTION > at Format > Anchor Link > Enter word: team309-s05

11.26c19v11

#1.8. Next, use this code to Custom CSS

#team309-s05 {
  --title-line2-size: 11.5px;
  --title-line2-color: #6F6D67;
  --title-line-color: #141414;
  --title-line-space: 14px;
  --year-size: 15px;
  --year-color: #6F6D67;
  --year-width: 90px;
  --column-gap: 20px;
  --item-line-color: #D8D5CC;
  --item-space: 16px;
  .list-section-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    background: linear-gradient(var(--title-line-color), var(--title-line-color)) left bottom / 100% 1px no-repeat;
    background-origin: content-box;
    background-clip: content-box;
    > p {
      margin: 0 0 var(--title-line-space);
    }
    > p:nth-of-type(2) {
      font-family: var(--body-font-font-family);
      font-size: var(--title-line2-size);
      font-weight: 500;
      letter-spacing: .1em;
      line-height: 1.6;
      text-transform: uppercase;
      color: var(--title-line2-color);
    }
  }
  .list-item {
    padding: var(--item-space) 0;
    border-bottom: 1px solid var(--item-line-color);
  }
  .list-item-content__text-wrapper {
    display: grid;
    grid-template-columns: var(--year-width) minmax(0, 1fr) minmax(0, 1fr);
    column-gap: var(--column-gap);
    align-items: baseline;
  }
  .list-item-content__title {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }
  .list-item-content__description {
    display: contents;
    > p {
      margin: 0;
      grid-row: 1;
    }
    > p:first-child {
      grid-column: 1;
      font-family: var(--heading-font-font-family);
      font-size: var(--year-size);
      font-style: italic;
      color: var(--year-color);
    }
    > p:nth-child(2) {
      grid-column: 3;
    }
  }
  @media (max-width: 767px) {
    .list-item-content__text-wrapper {
      grid-template-columns: 60px minmax(0, 1fr);
      row-gap: 4px;
    }
    .list-item-content__description > p:nth-child(2) {
      grid-column: 2;
      grid-row: 2;
    }
  }
}

11.26c19v11

#1.9. Customize

To change Second Paragraph Style (in Section Title), edit this

--title-line2-size: 11.5px;
  --title-line2-color: #6F6D67;

To change Section Line Color, Space between Title – Line, edit this

--title-line-color: #141414;
--title-line-space: 14px;

11.26c19v11

To change Year Style (Size, Color, Width), edit this

--year-size: 15px;
  --year-color: #6F6D67;
  --year-width: 90px;

11.26c19v11

To change Line Color, Space between Line – Text, edit this

--item-line-color: #D8D5CC;
 --item-space: 16px;

11.26c19v11

 

Buy me a coffee