Title: Styling a Table
Last modified: May 18, 2026

---

# Styling a Table

 *  [jodword](https://wordpress.org/support/users/jodword/)
 * (@jodword)
 * [2 weeks, 6 days ago](https://wordpress.org/support/topic/styling-a-table/)
 * Hello,
 * I’m building a site locally on PC using Local app for someone else and trying
   to make it as easy for them to manage adding/updating information. I’m using 
   the Twenty Twenty Five theme in 6.4.9 WordPress. I have inserted a table block
   and styled the first column in table with text set to “Bold” and the second column
   is set to “Regular”. If they highlight the items in each row in first column,
   will it keep the setting of text to “Bold”, or will it get rid of the style? 
   If it removes the style setting, is there a way to keep the style with additional
   CSS, and if so, where would that CSS be added? Thanks

Viewing 1 replies (of 1 total)

 *  [r1k0](https://wordpress.org/support/users/r1k0/)
 * (@r1k0)
 * [2 weeks, 6 days ago](https://wordpress.org/support/topic/styling-a-table/#post-18911761)
 * Hello [@jodword](https://wordpress.org/support/users/jodword/),
 * No, the text styles for that column item should remain bold if they only highlight
   it. But if they highlight and uncheck the bold setting, the text will lose its
   bold styling.
 * You could also make the items in the first column bold using CSS, which will 
   prevent accidental changes to the styling. To make this change apply to only 
   one table, follow these steps to add additional CSS:
    - Go to the specific table, click **Advanced** in the block setting tab.
    - Add an additional CSS Class, e.g. `only-editable` and save the post/page. (
      See screenshot below)
    - Go back to the Admin Dashboard and head over to **Appearance > Editor**.
    - Select the **Styles** tab, then click the three horizontal dot button.
    - Click **Additional CSS ** option and the input field, enter the code below
      to set the first column style to bold.
 *     ```wp-block-code
       .only-editable tr > td:first-of-type {    font-weight: bold;}
       ```
   
 * > [View post on imgur.com](https://imgur.com/a/9gjSJO3)
 * Hope you find this helpful.
 * Cheers.
    -  This reply was modified 2 weeks, 6 days ago by [r1k0](https://wordpress.org/support/users/r1k0/).
      Reason: Additional info

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fstyling-a-table%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

## Tags

 * [table](https://wordpress.org/support/topic-tag/table/)
 * [text styles](https://wordpress.org/support/topic-tag/text-styles/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [r1k0](https://wordpress.org/support/users/r1k0/)
 * Last activity: [2 weeks, 6 days ago](https://wordpress.org/support/topic/styling-a-table/#post-18911761)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
