Quick Answer
For one table, open it in the builder, go to the Settings tab, expand Styles, type your CSS in Extra Styles and click Apply styles, then Save. For every table on your site, go to WP Table Builder > Settings > Table Styles, add the CSS to Custom CSS and click Save. Both are free and support media queries.
Custom CSS lets you change details the builder has no setting for, such as a special font weight, a shadow or a different look on very small screens.
Requirements #
| Item | Details |
|---|---|
| Plan | Free and Pro |
| Skills | Basic CSS |
| Plugin version | WP Table Builder 2.1.0 or later (CSS preview in the builder) |
Add CSS to one table #
- Open the table in the builder and click the Settings tab.
- Type
stylesin Search settings, or scroll to Styles, and expand it. - Write your CSS in Extra Styles.
- Click Apply styles to preview it in the builder.
- Click Save.
Add CSS to every table #
- Go to WP Table Builder > Settings.
- Open the Table Styles tab. The note says the styles are applied to all tables.
- Add your CSS to Custom CSS and click Save.
Useful selectors #
| Selector | Targets |
|---|---|
.wptb-cell | Every table cell |
.wptb-image-element-target | Images in Image elements |
Use your browser’s Inspect tool on the live page to find the exact class names you need.
Example #
.wptb-cell { font-weight: 500; }
@media (max-width: 600px) { .wptb-cell { font-size: 14px; } }
Tips #
- Try the built-in settings first. They are easier to change later and work with responsive layouts.
- Keep table-specific CSS in Extra Styles so it moves with the table when you export it to XML.
Frequently asked questions #
Where do I add custom CSS for WP Table Builder?
Use Extra Styles in the table’s Settings tab for one table, or WP Table Builder > Settings > Table Styles for all tables.
Does custom CSS support media queries?
Yes. Media queries work in both Extra Styles and Table Styles.
Is custom CSS a Pro feature?
No. Both custom CSS options are free.