Skip to content

How to Match the Pricing Table to Your Theme

The pricing table sits beside your theme’s buttons, prices and cards. A mismatch in colour or corners makes it look bolted on. Four settings fix that.

All four are in the Appearance section of the Display tab.

Go to DevDiggers Plugins → Tiered Pricing → Configuration → Display and scroll to Appearance.

The Appearance section with Highlight Style, Corner Radius, Accent Color and Contrast Color

Everything here affects the table, the next tier hint and the saving chips together.

Highlight Style decides how the tier matching the quantity is marked.

The Highlight Style setting boxed on the Display tab

  • Tinted row: A pale wash of the accent colour, with the price in the accent colour. It keeps the row in the theme’s palette. This is the default.
  • Solid fill: The whole row in the accent colour, with text in the contrast colour.

The tinted row is quiet. The solid fill shouts.

The pricing table with a solid fill highlight on the active tier

The next tier hint takes on the accent colour as well. In solid mode it fills with the accent colour and its text switches to the contrast colour, so it stays readable.

Corner Radius rounds the table block, the hint and the saving chips.

The Corner Radius setting boxed on the Display tab

  • Square: 0 pixels. It suits a sharp, flat theme.
  • Slight: 4 pixels. This is the default.
  • Rounded: 8 pixels.

The pricing table with square corners

The pricing table with rounded corners

Match the setting to your theme’s buttons. A square table under rounded buttons looks like two different shops.

Step 4: Pick the accent and contrast colours

Section titled “Step 4: Pick the accent and contrast colours”

Accent Color is used for the active tier, the savings chips and the hint. The default is the DevDiggers blue, #0256ff.

The Accent Color picker boxed on the Display tab

Contrast Color is the text colour placed on top of the accent, on the chips and on a solid highlight. In solid mode the next tier hint uses it too. The default is white.

The Contrast Color picker boxed on the Display tab

Click a swatch to open the picker, or type a hex code. Clear puts the box back to its default. The contrast colour must read on the accent.

White on a dark brand colour works, and dark text on a pale brand colour works. The rest of the page does not change.

Save and reload. With a green accent, #15803d, the tinted row and the hint both turn green.

The pricing table with a green accent colour

Your theme’s Add to cart button is not touched. If its colour clashes with the new accent, change the accent, since the button belongs to the theme.