Title: Custom CSS no affect
Last modified: August 22, 2016

---

# Custom CSS no affect

 *  Resolved [JT12345](https://wordpress.org/support/users/jt12345/)
 * (@jt12345)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/custom-css-no-affect/)
 * Iḿ tryin to add custom CSS code to the layout of my table to change the header
   colours, centre the table, and change the table line colours
 * I have added the CSS to the Plugin Options CSS but itś not changing anything.
   I have added the !important tage to the end and made sure all caches (browser,
   wordpress and cloudflare) are all clear.
 * What am I doing wrong?
    .tablepress thead th, .tablepress tfoot th { background-
   color: #ff0000 !important; }
 * .tablepress-id-.tablepress {
    width: auto; margin: 0 auto 1em !important; }
 * .tablepress thead .sorting_asc,
    .tablepress thead .sorting_desc, .tablepress
   thead .sorting:hover { background-color: #00ff00 !important; }
 * Website table is [http://5churches.co.uk/services-prayer/benefice-services-for-3-months/](http://5churches.co.uk/services-prayer/benefice-services-for-3-months/)
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/custom-css-no-affect/#post-5907845)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * The reason for this is quite simple: The tables on that page where not created
   with the TablePress plugin. The plugin is installed on your site, but those tables
   have been created through different measures.
 * The “Custom CSS” will only apply to tables that are created with TablePress.
 * Regards,
    Tobias
 *  Thread Starter [JT12345](https://wordpress.org/support/users/jt12345/)
 * (@jt12345)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/custom-css-no-affect/#post-5907851)
 * Well that makes perfect sense!
 * Apologies, I was led to believe the users of the site where using the tablepress
   plugin. I shall get that corrected.
 * I have tested using table press and indeed the css is working.
    thankyou for 
   the quick response and help
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/custom-css-no-affect/#post-5907853)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](http://wordpress.org/support/view/plugin-reviews/tablepress)
   here in the plugin directory. Thanks!

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

The topic ‘Custom CSS no affect’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/custom-css-no-affect/#post-5907853)
 * Status: resolved