Title: Plugin conflict
Last modified: December 7, 2024

---

# Plugin conflict

 *  Resolved [Bunkermentality](https://wordpress.org/support/users/bunkermentality/)
 * (@bunkermentality)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/plugin-conflict-439/)
 * I use the table plugin for static tables in the Information tab on the pagelink.
 * The latest upgrade of TablePress 3.0.1 causes the alignment of the table to reset
   to centered for all columns even though left align is selected.
 * If I rollback to version 3.0 the problem disappears.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-conflict-439%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/plugin-conflict-439/#post-18184935)
 * Hi!
 * Thanks for your post and sorry for the trouble!
 * Can you please clarify this some more? I’m not seeing a TablePress table on the
   page from your link?
 * Regards,
   Tobias
 *  Thread Starter [Bunkermentality](https://wordpress.org/support/users/bunkermentality/)
 * (@bunkermentality)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/plugin-conflict-439/#post-18185602)
 * Thank you for your prompt reply. I detected this problem for the first time yesterday.
 * It is the presence of the TablePress plugin that affects the stand WordPress 
   Table block [https://wordpress.org/documentation/article/table-block/](https://wordpress.org/documentation/article/table-block/).
 * With V3.0.1 the alignment button does nothing and the table alignments are left-
   aligned whicl rendered display is center-aligned. With V3.0.0 the edit scree 
   shows centrer-aligned and the rendered scree is left-aligned. For V2.4.4 both
   edit and rendered pages show center-aligned.
 * Yesterday I updgraded tablePress to v3.0.1 and deactivated the deprecated TablePress
   Extensions.
 * If I deactivate TablePress completely the Table Block works OK.
 * Regards, Paul
    -  This reply was modified 1 year, 6 months ago by [Bunkermentality](https://wordpress.org/support/users/bunkermentality/).
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/plugin-conflict-439/#post-18185844)
 * Hi,
 * thanks for the explanation! I think I can explain what’s going on here.
 * So, TablePress does in no way interact or influence the normal WordPress table
   block. However, it offers a “Custom CSS” field on its “Plugin Options” screen,
   which can hold CSS code for styling.
 * In this “Custom CSS” field, you have this code (among other code):
 *     ```wp-block-code
       .table th,td {	text-align: center !important;}
       ```
   
 * This will center-align ALL table body cells of ALL tables on the website (not
   just those of TablePress, but also those of the WordPress Table block). The relevant
   part is the `td` here. The part with the `.table` is actually not used (because
   that’s not a CSS class that TablePress uses).
 * In TablePress 2.4.4, this “Custom CSS” is loaded on all pages of the site, so
   that it will affect all tables. In TablePress 3.0 and 3.0.1 (after fixing a bug
   in 3.0), this CSS file will only be loaded on pages where there is a TablePress
   table. So, on the page from your link, which does not have a TablePress table,
   this “Custom CSS” file will NOT be loaded, meaning that the table from the WordPress
   Table block will get its default styling.
 * In short: To fix this problem, you should adjust your “Custom CSS” on the “Plugin
   Options” screen of TablePress. It should only contain CSS code for TablePress
   tables, which means that all CSS selectors should start with `.tablepress` (and
   not just `.table` and not without a CSS class, like the `td`). So, I recommend
   either removing the code from above, or replacing it with
 *     ```wp-block-code
       .tablepress th,.tablepress td {  text-align: center !important;}
       ```
   
 * (There is also another piece of code in there that uses just `.table` so that
   should be adjusted or commented out as well.)
 * After this, your WordPress Table block tables will be completely independent 
   from TablePress.
 * Best wishes,
   Tobias
 *  Thread Starter [Bunkermentality](https://wordpress.org/support/users/bunkermentality/)
 * (@bunkermentality)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/plugin-conflict-439/#post-18187360)
 * Tobias,
 * Thatnks for the update. This makes sense. In response I have
    1. Updated the plugin to v3.0.1
    2. Edidted the CSS in plugin options (CSS appended).
    3. Created a test page [https://respiceprospice.co.uk/tablepress-test](https://respiceprospice.co.uk/tablepress-test/)
       In edit mode this seems to aligh columns as requested. But when rendered both
       colums default to centered.
 * Thanks Paul
 * +++++++++++
 * .tablepress th {
   background-color: #046546; /* Ealing Dark Green */color: #ffffff;
   text-align: center !important;}
 * .tablepress th,
   td {text-align: center !important;}
 * .tablepress .column-1 {
   text-align: left !important;}
 * /* ID=8 Club Fixtures & Results 1871 – present */
   .tablepress-id-8 .column-2 {
   text-align: left !important;}
 * /* ID=9 In Memoriam */
   .tablepress-id-9 .column-1 {text-align: right !important;}
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/plugin-conflict-439/#post-18187379)
 * Hi,
 * you still have
 *     ```wp-block-code
       .tablepress th,td {text-align: center !important;}
       ```
   
 * which is wrong and must be
 *     ```wp-block-code
       .tablepress th,.tablepress td {text-align: center !important;}
       ```
   
 * Best wishes,
   Tobias
 *  Thread Starter [Bunkermentality](https://wordpress.org/support/users/bunkermentality/)
 * (@bunkermentality)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/plugin-conflict-439/#post-18187882)
 * Tobias,
 * Excellent. Thank you for your assistance.
 * Paul
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/plugin-conflict-439/#post-18188003)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
   Tobias

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

The topic ‘Plugin conflict’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/plugin-conflict-439/#post-18188003)
 * Status: resolved