How-to guide
Clear price tables
Tables are the right tool for prices. Paste one from Word or Google Docs, or write it, then style it once.
Steps
Paste a table from Word or Google Docs into a block: smart paste keeps the rows and columns. Or ask your AI for the HTML.
Select the table (Style path under the deck › Table) and add the class
pricesin the Element tab.Paste the CSS below into System › Site CSS. Every table with that class looks the same, on every page.
CSS
.prices { width: 100%; border-collapse: collapse; }
.prices caption { text-align: left; font-weight: 700; font-size: 1.3rem; padding-bottom: 10px; }
.prices th, .prices td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #e5e5e5; vertical-align: top; }
.prices thead th { background: #111; color: #fff; }
.prices td:last-child, .prices th:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.prices small { display: block; color: #666; font-weight: 400; }Prompt for your AI
Create the HTML for a JoodCMS price table with class "prices": a caption "[name]", columns Item and Price,
and these rows: [item – note – price, …]. Put each note in <small> under the item name. Only the table HTML, no styles.