• Skip to main content
  • Skip to main content
Choose which site to search.
University of Arkansas for Medical Sciences Logo University of Arkansas for Medical Sciences
Communications and Marketing: Web Services
  • UAMS Health
  • Jobs
  • Giving
  • About Us
  • AI Wayfinding
    • Introduction
    • Report an AI Issue
    • Strategic View
  • Knowledge Base
  • UAMS Website Theme
  • Web Accessibility
  1. University of Arkansas for Medical Sciences
  2. Communications and Marketing
  3. Web Services
  4. WordPress Table Block

WordPress Table Block

Last modified: August 27, 2020
You are here:
  • Knowledge Base
  • WordPress Content Management System
  • UAMS 2020 Theme
  • Gutenberg Blocks
  • WordPress Table Block

The content in this article is related to a style update that is pending as of Aug. 24, 2020.

Data tables are used to organize data with a logical relationship in grids. Accessible tables need a header section as well as a body. Assistive technologies use this information to provide context to users.

There are two table types that we support: the WordPress Table block and the TablePress plugin. This article will be covering the WordPress Table block.

To add a table, add the block called Table. As a shortcut, you can type “/table” in an empty block and the “Add block” menu will appear, filtered to have the Table block visible.

To add the header section, select the table block and toggle Header section on in the Block panel on the right side of your window.

Toggling Header section on

By default the WordPress Table block will display with a border around the cells and a thick border separating the head from the body. We encourage you to use this default style with your table. However, if there is a need for a different style, you can add certain class values to the Table block to achieve a different style.

To add a class value to your Table block, select the block and add a specific value to the Additional CSS class(es) under the Advanced tab of the Block panel on the right side of your window. The different table styles and the relevant classes are detailed below.

Adding a class to your block

Default

No action required.

KeysValues
Key 1Value 1
Key 2Value 2

Borderless

Add class table-borderless.

KeysValues
Key 1Value 1
Key 2Value 2

Striped

Add class table-striped.

KeysValues
Key 1Value 1
Key 2Value 2

Hover

Add class table-hover.

KeysValues
Key 1Value 1
Key 2Value 2

Dark

Add class table-dark.

KeysValues
Key 1Value 1
Key 2Value 2

Dark Borderless

Add class table-dark table-borderless.

KeysValues
Key 1Value 1
Key 2Value 2

Dark Striped

Add class table-dark table-striped.

KeysValues
Key 1Value 1
Key 2Value 2

Dark Hover

Add class table-dark table-hover.

KeysValues
Key 1Value 1
Key 2Value 2
Was this article helpful?
Like 0 Dislike 0
University of Arkansas for Medical Sciences LogoUniversity of Arkansas for Medical SciencesUniversity of Arkansas for Medical Sciences
Mailing Address: 4301 West Markham Street, Little Rock, AR 72205
Phone: (501) 686-7000
  • Facebook
  • X
  • Instagram
  • YouTube
  • LinkedIn
  • Pinterest
  • Disclaimer
  • Terms of Use
  • Privacy Statement
  • Legal Notices

© 2026 University of Arkansas for Medical Sciences