Description
- Need a simple list of services or add-ons with prices? Put the name in the item title and the price in the description, and this CSS lays them out as neat rows with divider lines.
- buy me a coffee

#1. Install Code
#1.1. Make sure you added List Simple
#1.2. Enable these options

#1.3. Edit Section Title > Enter text like this

#1.4. Edit each item > enter text like this

#1.5. at Design > Size & Space > Set these options

#1.6. Hover on top right of section > Click EDIT SECTION > at Format > Anchor Link > Enter word: team04-s08

#1.7. Next, use this code to Page Header Injection
- If you need to tweak code for Personal/Basic Plan, comment below, I will give you new code
<style>
#team04-s08 {
--heading-column-gap: 40px;
--heading-space-below: 60px;
--title-line1-size: 11.5px;
--title-line1-color: #9E5A5A;
--title-line1-font-family: var(--body-font-font-family);
--title-line1-letter-spacing: .26em;
--title-line1-space-below: 22px;
--title-line1-line-width: 28px;
--title-line1-line-height: 1px;
--title-line1-line-color: #C98A86;
--title-line1-line-gap: 12px;
--title-line2-size: clamp(36px, 4.6vw, 58px);
--title-line2-color: #47333D;
--title-line2-font-family: var(--heading-font-font-family);
--title-line2-font-weight: 500;
--title-line2-line-height: 1.08;
--title-line3-size: 16px;
--title-line3-color: #7A6570;
--title-line3-font-family: var(--body-font-font-family);
--title-line3-line-height: 1.7;
--title-line3-max-width: 440px;
--item-padding: 18px 0;
--item-line-color: #E6D3CC;
--item-line-thickness: 1px;
--item-title-price-gap: 20px;
--price-size: 14px;
--price-color: #9E5A5A;
--price-letter-spacing: .1em;
.list-section-title {
margin-bottom: var(--heading-space-below);
}
.list-section-title > p {
margin: 0;
}
.list-section-title > p:nth-child(1) {
display: flex;
align-items: center;
gap: var(--title-line1-line-gap);
margin-bottom: var(--title-line1-space-below);
font-family: var(--title-line1-font-family);
font-size: var(--title-line1-size);
line-height: 1.4;
letter-spacing: var(--title-line1-letter-spacing);
text-transform: uppercase;
color: var(--title-line1-color);
&::before {
content: "";
flex: none;
width: var(--title-line1-line-width);
height: var(--title-line1-line-height);
background: var(--title-line1-line-color);
}
}
.list-section-title > p:nth-child(2) {
font-family: var(--title-line2-font-family);
font-size: var(--title-line2-size);
line-height: var(--title-line2-line-height);
color: var(--title-line2-color);
strong {
font-weight: var(--title-line2-font-weight);
}
}
.list-section-title > p:nth-child(3) {
max-width: var(--title-line3-max-width);
margin-top: 24px;
font-family: var(--title-line3-font-family);
font-size: var(--title-line3-size);
line-height: var(--title-line3-line-height);
color: var(--title-line3-color);
}
@media (min-width: 768px) {
.list-section-title {
display: grid;
grid-template-columns: 1fr auto;
column-gap: var(--heading-column-gap);
align-items: end;
}
.list-section-title > p:nth-child(1) {
grid-column: 1;
grid-row: 1;
}
.list-section-title > p:nth-child(2) {
grid-column: 1;
grid-row: 2;
}
.list-section-title > p:nth-child(3) {
grid-column: 2;
grid-row: 1 / 3;
margin-top: 0;
}
}
.list-item {
padding: var(--item-padding) !important;
border-bottom: var(--item-line-thickness) solid var(--item-line-color);
}
.list-item-content__text-wrapper {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: var(--item-title-price-gap);
}
.list-item-content__title {
margin: 0 !important;
}
.list-item-content__description {
flex: none;
margin: 0 !important;
font-size: var(--price-size);
letter-spacing: var(--price-letter-spacing);
color: var(--price-color);
white-space: nowrap;
}
.list-item-content__description p {
margin: 0;
}
}
</style>

#1.8. Customize
To change style of First Title (Section Title) + Line before First Title, change this
--title-line1-size: 11.5px; --title-line1-color: #9E5A5A; --title-line1-font-family: var(--body-font-font-family); --title-line1-letter-spacing: .26em; --title-line1-space-below: 22px; --title-line1-line-width: 28px; --title-line1-line-height: 1px; --title-line1-line-color: #C98A86; --title-line1-line-gap: 12px;
To change style of Second Title + Third Title, edit this
--title-line2-size: clamp(36px, 4.6vw, 58px); --title-line2-color: #47333D; --title-line2-font-family: var(--heading-font-font-family); --title-line2-font-weight: 500; --title-line2-line-height: 1.08; --title-line3-size: 16px; --title-line3-color: #7A6570; --title-line3-font-family: var(--body-font-font-family); --title-line3-line-height: 1.7; --title-line3-max-width: 440px;
To change Price Size (You can change it in Design > Style and Site Styles) but you can also edit this
--price-size: 14px; --price-color: #9E5A5A; --price-letter-spacing: .1em;
To change Line between Items, space between Line – Text, change this
--item-padding: 18px 0; --item-line-color: #E6D3CC; --item-line-thickness: 1px; --item-title-price-gap: 20px;