11.26c22v14 Team 332 S14 List Section: Pricing Table – Dark Featured Card with Top Label

Squarespace has no pricing table block, and a Simple List can’t show a large price, a checkmark list or a highlighted plan. This version uses a dark featured card with a label on its top edge, equal-height cards and a full-width button pinned to the bottom.

11.26c22v14

#1. Install Code

#1.1. First, adding Simple List section

#1.2. Enter 3 Paragraphs in Section Title

11.26c22v14

#1.3. Edit each item > enter desired title, description, button text/url

11.26c22v14

Note: Make sure use strikethrough for pricing text

11.26c22v14

Make sure use italic for Pricing Number

11.26c22v14

Use Underline text for Label Most Popular

11.26c22v14

#1.4. Hover on top right of section > Click EDIT SECTION > at Format > Anchor Link > Enter word: team332-s14

11.26c22v14

#1.5. Next, use this code to Page Header Injection

<!-- 11.26c22v14 Team 332 S14 List Section: Pricing Table - Dark Featured Card with Top Label -->
<style>
  #team332-s14 {
  --title-align: center;
  --title-line1-size: 12px;
  --title-line1-color: #a7722f;
  --title-line1-letter-spacing: .18em;
  --title-line1-line-width: 28px;
  --title-line1-space-below: 18px;
  --title-line2-size: clamp(32px, 4.2vw, 54px);
  --title-line3-size: 19px;
  --title-line3-color: #6c7276;
  --title-line3-space-above: 18px;
  --card-background: #ffffff;
  --card-border-color: rgba(22,25,27,.12);
  --card-border-thickness: 1px;
  --card-radius: 4px;
  --card-padding: 40px 34px;
  --price-size: 52px;
  --price-weight: 800;
  --price-letter-spacing: -.04em;
  --price-color: #16191b;
  --price-space-above: 22px;
  --price-space-below: 6px;
  --price-suffix-size: 15px;
  --price-suffix-color: #6c7276;
  --list-space-above: 26px;
  --list-space-below: 34px;
  --list-row-gap: 12px;
  --list-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
  --list-icon-size: 16px;
  --list-icon-color: #c58d45;
  --list-icon-text-gap: 10px;
  --list-text-size: 15px;
  --label-background: #c58d45;
  --label-color: #16191b;
  --label-size: 11px;
  --label-letter-spacing: .12em;
  --label-padding: 6px 12px;
  --label-radius: 2px;
  --label-left: 34px;
  --button-background: transparent;
  --button-text-color: #16191b;
  --button-border-color: #16191b;
  --button-hover-background: #16191b;
  --button-hover-text-color: #f4f1eb;
  --button-hover-border-color: #16191b;
  --featured-background: #16191b;
  --featured-border-color: #16191b;
  --featured-title-color: #f4f1eb;
  --featured-text-color: rgba(244,241,235,.7);
  --featured-price-color: #f4f1eb;
  --featured-price-suffix-color: rgba(244,241,235,.6);
  --featured-list-text-color: #f4f1eb;
  --featured-button-background: #c58d45;
  --featured-button-text-color: #16191b;
  --featured-button-border-color: #c58d45;
  --featured-button-hover-background: #f4f1eb;
  --featured-button-hover-text-color: #16191b;
  --featured-button-hover-border-color: #f4f1eb;
  .list-section-title > p {
    margin: 0;
  }
  .list-section-title > p:nth-child(1) {
    display: flex;
    align-items: center;
    justify-content: var(--title-align);
    gap: 10px;
    margin-bottom: var(--title-line1-space-below);
    font-family: var(--heading-font-font-family);
    font-size: var(--title-line1-size);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: var(--title-line1-letter-spacing);
    color: var(--title-line1-color);
    &::before {
      content: "";
      flex: 0 0 auto;
      width: var(--title-line1-line-width);
      height: 1px;
      background: currentColor;
    }
  }
  .list-section-title > p:nth-child(2) {
    font-size: var(--title-line2-size);
    line-height: 1.05;
    letter-spacing: -.02em;
  }
  .list-section-title {
    text-align: var(--title-align);
  }
  .list-section-title > p:nth-child(3) {
    margin-top: var(--title-line3-space-above);
    font-family: var(--body-font-font-family);
    font-size: var(--title-line3-size);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
    color: var(--title-line3-color);
  }
  .user-items-list-simple {
    align-items: stretch;
  }
  .list-item {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: visible;
    padding: var(--card-padding);
    border: var(--card-border-thickness) solid var(--card-border-color);
    border-radius: var(--card-radius);
    background: var(--card-background);
  }
  .list-item-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
  .list-item-content__text-wrapper {
    flex-grow: 1;
  }
  .list-item-content__description > p {
    margin: 0;
  }
  .list-item-content__description > p:has(span[style*="line-through"]) {
    margin: var(--price-space-above) 0 var(--price-space-below);
    line-height: 1;
    span {
      text-decoration: none !important;
    }
    > span {
      font-size: var(--price-suffix-size);
      font-weight: 500;
      letter-spacing: 0;
      color: var(--price-suffix-color);
    }
    em {
      font-family: var(--heading-font-font-family);
      font-size: var(--price-size);
      font-style: normal;
      font-weight: var(--price-weight);
      letter-spacing: var(--price-letter-spacing);
      color: var(--price-color);
    }
  }
  .list-item-content__description ul {
    display: flex;
    flex-direction: column;
    gap: var(--list-row-gap);
    margin: var(--list-space-above) 0 var(--list-space-below);
    padding: 0;
    list-style: none;
  }
  .list-item-content__description ul li {
    display: flex;
    align-items: flex-start;
    gap: var(--list-icon-text-gap);
    margin: 0;
    padding: 0;
    font-size: var(--list-text-size);
    list-style: none;
    &::marker {
      content: none;
    }
    &::before {
      content: "";
      flex: 0 0 auto;
      width: var(--list-icon-size);
      height: var(--list-icon-size);
      margin-top: .2em;
      background: var(--list-icon-color);
      -webkit-mask: var(--list-icon) center/contain no-repeat;
      mask: var(--list-icon) center/contain no-repeat;
    }
    > p {
      margin: 0;
      font-size: inherit;
      &::before {
        content: none !important;
        display: none !important;
      }
    }
  }
  .list-item-content__description > p:last-child:has(u) {
    position: absolute;
    top: 0;
    left: var(--label-left);
    z-index: 1;
    margin: 0;
    padding: var(--label-padding);
    transform: translateY(-50%);
    border-radius: var(--label-radius);
    background: var(--label-background);
    color: var(--label-color) !important;
    font-family: var(--heading-font-font-family);
    font-size: var(--label-size);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: var(--label-letter-spacing);
    white-space: nowrap;
    u {
      text-decoration: none;
    }
  }
  .list-item-content__button-wrapper,
  .list-item-content__button-container {
    width: 100%;
  }
  .list-item-content__button {
    display: block !important;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    border: 1px solid var(--button-border-color) !important;
    background-color: var(--button-background) !important;
    color: var(--button-text-color) !important;
    transition: background-color .3s, color .3s, border-color .3s;
    &:hover {
      opacity: 1 !important;
      border-color: var(--button-hover-border-color) !important;
      background-color: var(--button-hover-background) !important;
      color: var(--button-hover-text-color) !important;
    }
  }
  .list-item:has(.list-item-content__description > p:last-child u) {
    border-color: var(--featured-border-color);
    background: var(--featured-background);
    .list-item-content__title {
      color: var(--featured-title-color) !important;
    }
    .list-item-content__description {
      color: var(--featured-text-color) !important;
    }
    .list-item-content__description > p:has(span[style*="line-through"]) {
      > span {
        color: var(--featured-price-suffix-color);
      }
      em {
        color: var(--featured-price-color);
      }
    }
    .list-item-content__description ul li {
      color: var(--featured-list-text-color);
    }
    .list-item-content__button {
      border-color: var(--featured-button-border-color) !important;
      background-color: var(--featured-button-background) !important;
      color: var(--featured-button-text-color) !important;
      &:hover {
        border-color: var(--featured-button-hover-border-color) !important;
        background-color: var(--featured-button-hover-background) !important;
        color: var(--featured-button-hover-text-color) !important;
      }
    }
  }
}
</style>

11.26c22v14

#1.6. Customize

To change style of Section Title (3 lines), edit this

--title-line1-size: 12px;
  --title-line1-color: #a7722f;
  --title-line1-letter-spacing: .18em;
  --title-line1-line-width: 28px;
  --title-line1-space-below: 18px;
  --title-line2-size: clamp(32px, 4.2vw, 54px);
  --title-line3-size: 19px;
  --title-line3-color: #6c7276;
  --title-line3-space-above: 18px;

To change Card Item Style, Active Item Style, edit this

--card-background: #ffffff;
  --card-border-color: rgba(22,25,27,.12);
  --card-border-thickness: 1px;
  --card-radius: 4px;
  --card-padding: 40px 34px;
--featured-background: #16191b;
  --featured-border-color: #16191b;

To change Price style, edit this

--price-size: 52px;
  --price-weight: 800;
  --price-letter-spacing: -.04em;
  --price-color: #16191b;
  --price-space-above: 22px;
  --price-space-below: 6px;
  --price-suffix-size: 15px;
  --price-suffix-color: #6c7276;

To change Unordered List Style, edit this

--list-space-above: 26px;
  --list-space-below: 34px;
  --list-row-gap: 12px;
  --list-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
  --list-icon-size: 16px;
  --list-icon-color: #c58d45;
  --list-icon-text-gap: 10px;
  --list-text-size: 15px;

To change Label Style (Most Popular), edit this

--label-background: #c58d45;
  --label-color: #16191b;
  --label-size: 11px;
  --label-letter-spacing: .12em;
  --label-padding: 6px 12px;
  --label-radius: 2px;
  --label-left: 34px;

To change Button Style + Active Item Button Style (Middle Column), edit this

--button-background: transparent;
  --button-text-color: #16191b;
  --button-border-color: #16191b;
  --button-hover-background: #16191b;
  --button-hover-text-color: #f4f1eb;
  --button-hover-border-color: #16191b;
  --featured-background: #16191b;
  --featured-border-color: #16191b;
  --featured-title-color: #f4f1eb;
  --featured-text-color: rgba(244,241,235,.7);
  --featured-price-color: #f4f1eb;
  --featured-price-suffix-color: rgba(244,241,235,.6);
  --featured-list-text-color: #f4f1eb;
  --featured-button-background: #c58d45;
  --featured-button-text-color: #16191b;
  --featured-button-border-color: #c58d45;
  --featured-button-hover-background: #f4f1eb;
  --featured-button-hover-text-color: #16191b;
  --featured-button-hover-border-color: #f4f1eb;

 

Buy me a coffee