Ad space

In-article ad

Ad space
eyJ2IjoxLCJiIjoiODk4NzUxMjU0MTU2NDk5MDUwIiwidyI6ImRlbW8iLCJ0IjoiMSJ9.JNwytzxn68dvLH1Z_gmjrF_npbIlkG_5lKkKaJtx68sNq6xmnGUZVOKYtYqT99no2gj0XcjwsZiev9GzFJK0OA

Head extras

Product Specs Box in Centum

The specs box turns a plain list of "Property: Value" lines into a neatly styled specs table inside your post. No settings and no extra code: paste the structure below into the post's HTML view.

Live example

  • Screen: 6.7-inch AMOLED
  • Processor: Snapdragon 8 Gen 3
  • Memory: 12 GB RAM
  • Storage: 256 GB
  • Battery: 5000 mAh
  • Price: $999

The code you need

<div class="specs-box" data-title="Product specs">
<ul>
<li>Screen: 6.7-inch AMOLED</li>
<li>Processor: Snapdragon 8 Gen 3</li>
<li>Memory: 12 GB RAM</li>
</ul>
</div>

The title is optional: remove the data-title attribute to show the box without one. Each line is split at the first colon, so write the property before it and the value after it.

Everything in this guide works out of the box in Centum, with no code and no add-ons.

About the author

Ad space