11.26c19v10 List Section: Section Title Side by Side with a Divider Line

Want a label like “06 Services” or “Since 2014” to sit on the right side of your List Section title? Add it as a second line in the title and this CSS moves it across and adds a divider below.

11.26c19v10

#1. Install Code

#1.1. First, enter text like this into Section Title

11.26c19v10

#1.2. Next, edit each item > Enter text like this

11.26c19v10

#1.3. Next, hover on top right of List > Click EDIT SECTION > at Format > Anchor Link > enter word: team309-s04

11.26c19v10

#1.4. Next, use this code to Custom CSS

#team309-s04 {
  --title-line2-size: 11.5px;
  --title-line2-color: #6F6D67;
  --title-line-color: #141414;
  --title-line-space: 14px;
  .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);
    }
  }
}

11.26c19v08

#1.5. Customize

To change Right Text (Second paragraph in Section Title), edit this

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

11.26c19v10

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

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

11.26c19v10

Buy me a coffee