Title: &#8220;Reset&#8221; table block&#8217;s layout
Last modified: April 9, 2022

---

# “Reset” table block’s layout

 *  Resolved [Tiago](https://wordpress.org/support/users/iam3ple/)
 * (@iam3ple)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/reset-table-blocks-layout-2/)
 * I’ve already emailed Anders, but maybe someone can clarify this?
 * I’m working on a website where I’m using KOJI and when I use the table block,
   the table automatically get a certain style, which is not what I want.
    This 
   is the default look (WP’s default table block): [https://snipboard.io/QhmPRl.jpg](https://snipboard.io/QhmPRl.jpg)
 * And this is the look on this website where you can see that there’s no borders
   and it’s automatically applying that styling of alternating rows’ colors (white,
   gray, white, gray, etc):
    [https://snipboard.io/b3wjt7.jpg](https://snipboard.io/b3wjt7.jpg)
 * Is there a way to reset this behavior either globally or on a block by block 
   basis?
 * Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Theme Author [Anders Norén](https://wordpress.org/support/users/anlino/)
 * (@anlino)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/reset-table-blocks-layout-2/#post-15546435)
 * Hi [@iam3ple](https://wordpress.org/support/users/iam3ple/),
 * Koji was built before the block editor was released, when there wasn’t a default
   table style in WordPress and every theme included their own. Removing the table
   styles included in Koji now (so the default block editor styles are used) would
   change the table design on all sites using Koji without warning, so I’m not going
   to do that.
 * I could add a table block style that mimics the default block editor styles for
   the table block, but since the Core CSS changes pretty often, I probably wouldn’t
   be able to keep it up to date.
 * Your best bet would be to create a child theme where you include CSS that styles
   the table block how you want it.
 * — Anders
 *  Thread Starter [Tiago](https://wordpress.org/support/users/iam3ple/)
 * (@iam3ple)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/reset-table-blocks-layout-2/#post-15549179)
 * Hi [@anlino](https://wordpress.org/support/users/anlino/)
 * I totally understand, no worries.
    I was able to find this plugin that allows
   custom CSS per post: [https://wordpress.org/plugins/blocks-css/](https://wordpress.org/plugins/blocks-css/)
 * Or if I want to add that globally, instead of a child theme (I tried a plugin
   and it messed with my styles, for some reason), I can just add that to the Additional
   CSS panel inside Customize:
 * .wp-block-table tbody > tr:nth-child(even) > td,
    .wp-block-table tbody td { 
   background: #fff; border: 1px solid; }
 * Thank you for your time and reply, though. 🙂
    -  This reply was modified 4 years, 2 months ago by [Tiago](https://wordpress.org/support/users/iam3ple/).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘“Reset” table block’s layout’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/koji/2.2/screenshot.jpg)
 * Koji
 * [Support Threads](https://wordpress.org/support/theme/koji/)
 * [Active Topics](https://wordpress.org/support/theme/koji/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/koji/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/koji/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Tiago](https://wordpress.org/support/users/iam3ple/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/reset-table-blocks-layout-2/#post-15549179)
 * Status: resolved