Table borders refer to the lines that surround and separate the cells within a table. By default, WordPress adds a standard border color to the tables. But depending on your web design, you may want to change your table border color.
But how to change it? To help you out, in this blog post we’ll show you two easy methods of how to change the table border color in WordPress.
- Méthode 1 : Modifier la couleur de la bordure du bloc de tableau par défaut
- Méthode 2 : Modifier la couleur de la bordure du bloc Tableberg
Créer de belles tables
Avec l'éditeur de blocs

Méthode 1 : Modifier la couleur de la bordure du bloc de tableau par défaut
Les par défaut Bloc de tableaux vous permet de modifier la couleur de la bordure du tableau. Voici comment procéder.
Step 01: Select the Table and Go to the Styles Tab
Placez votre curseur n'importe où sur la table. Puis allez à la page Onglet Styles dans le panneau d'options de droite.

Step 02: Come to the Border Option and Change Its Color
Come to the Border option by scrolling down the Styles tab. Click the circle under the border option. You’ll be able to set a color for the surrounding border of the table.
Remarque : The Table block doesn’t allow you to change the inner border color.

Méthode 2 : Modification de la couleur de la bordure du bloc Tableberg
Tableberg is a block-based table-builder plugin. With this plugin, you can change the color of both internal and external borders of your tables. Here’s a guide on Comment créer un tableau avec TableBerg.
Voyons maintenant comment modifier la couleur de la bordure du bloc Tableberg.
Step 01: Select the Table and Go to Styles Tab
Sélectionnez l'ensemble du tableau en en cliquant sur l'icône TableBerg (1) dans la barre d'outils. Accédez à la page Onglet Styles (2) après cela.

Step 02: Find the Table Border Options
En faisant défiler l'onglet, vous arriverez aux options de bordure du tableau. Vous trouverez deux options - Bordure du tableau et Bordure intérieure.
La première option permet de modifier la couleur de la bordure du tableau.

Passez ensuite à l'option Bordure intérieure. Définissez la couleur que vous souhaitez.

Thus, you can change the table border color in WordPress.
Lire aussi :
- Comment modifier la bordure d'une colonne individuelle ?
- Comment modifier la bordure d'une ligne individuelle ?
Conclusion
So, customizing the table border color is no longer difficult. Hopefully, by following this tutorial you will be able to change your table border color and add an extra touch of professionalism to your content and web design.
Before leaving this post, explore this guide on how to add images to tables in WordPress.