Skip to content

Collection Title Block

Display the name of a product collection (category).

The Collection Title block shows the name of the current collection. It automatically pulls the collection name from BigCommerce and displays it as a heading.

Use cases:

  • Collection archive page headers
  • Inside Collection Details Template
  • Category landing pages

Requirements: Must be used inside the Collection Details Template block.

  1. Add a Collection Details Template block to your page
  2. Click + inside the template
  3. Search for “Collection Title”
  4. Click to insert

Tag level:

  • H1 (default for page headers)
  • H2
  • H3
  • H4
  • H5
  • H6
  • Paragraph

Text alignment:

  • Left
  • Center
  • Right

Font settings:

  • Font family (inherits from theme)
  • Font size
  • Font weight
  • Line height
  • Letter spacing

Margin:

  • Top, bottom, left, right
  • Custom values or presets
/* Basic title styling */
.wpe-mustang-collection-title {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 1rem;
color: #333;
}
/* Centered title */
.wpe-mustang-collection-title.has-text-align-center {
text-align: center;
}
/* Uppercase title */
.wpe-mustang-collection-title {
text-transform: uppercase;
letter-spacing: 0.05em;
}

Via block settings:

  1. Click the Collection Title block
  2. In sidebar → Color settings
  3. Choose text color
  4. Choose background color (optional)

Large, centered collection name:

  • Tag: H1
  • Font size: 3rem
  • Text align: Center
  • Bottom margin: 2rem

Medium-sized section heading:

  • Tag: H2
  • Font size: 2rem
  • Text align: Left
  • Bottom margin: 1.5rem

Compact title in sidebar:

  • Tag: H3
  • Font size: 1.25rem
  • Text align: Left
  • Bottom margin: 0.5rem

Must be used inside:

  • Collection Details Template block

Receives context from:

  • Parent collection name
  • Parent collection slug

Does not work:

  • Standalone (requires parent Collection Details Template)
  • Inside Products block
  • Inside Single Product block

Block name: wpe-mustang/collection-title

Uses context:

  • wpe-mustang/parentCollection - Collection slug
  • wpe-mustang/parentCollectionName - Collection display name

Supports:

  • Typography controls
  • Color settings
  • Spacing (margin)
  • Custom CSS classes

Does not support:

  • Multiple instances (only one per template)
  • Alignment
  • Anchor links

Check:

  1. Block is inside Collection Details Template
  2. Collection Details Template has collection selected
  3. Collection exists in BigCommerce
  4. Collection name is not empty

Fix:

  • Edit Collection Details Template block
  • Select a collection from dropdown
  • Verify collection has a name in BigCommerce

The collection name is pulled from the parent Collection Details Template block. Make sure the correct collection is selected there, not in this block.

Common causes:

  • Theme CSS overriding heading styles
  • Custom CSS conflicts

Fix:

/* Reset and restyle */
.wpe-mustang-collection-title {
all: unset;
display: block;
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 1rem;
}