Title: Custom CSS not working
Last modified: August 30, 2016

---

# Custom CSS not working

 *  Resolved [jgarvel](https://wordpress.org/support/users/jgarvel/)
 * (@jgarvel)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/custom-css-not-working-29/)
 * Hello, I put the following code in Custom CSS
 *     ```
       .tablepress thead th,
       .tablepress tfoot th {
       	background-color: #bed5b7 !important;
       }
       ```
   
 * And is not working, worse yet it disables the default CSS aspects.
    Am I doing
   something wrong? Hope you can help. Cheers amigo.
 * You can see the result here: [http://ininee.umich.mx/dcdr/estructura-del-programa/](http://ininee.umich.mx/dcdr/estructura-del-programa/)
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/custom-css-not-working-29/#post-6288282)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * For some reason, the TablePress CSS files could not be saved to the server, as
   it seems.
    TablePress is expecting them in the file [http://ininee.umich.mx/dcdr/wp-content/uploads/sites/4/tablepress-combined.min.css](http://ininee.umich.mx/dcdr/wp-content/uploads/sites/4/tablepress-combined.min.css)
   but that apparently does not exist. Can you maybe check if this upload folder
   on the server exists and if its writable?
 * Regards,
    Tobias
 *  Thread Starter [jgarvel](https://wordpress.org/support/users/jgarvel/)
 * (@jgarvel)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/custom-css-not-working-29/#post-6288330)
 * Hello again. I checked and the files are where they are supposed to be and it
   is writable. Could there be something else wrong?
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/custom-css-not-working-29/#post-6288346)
 * Hi,
 * thanks for checking. Then, as the URL above is only returning a “404 Not found”
   error, I assume that something on the server is blocking the request, e.g. due
   to security precautions (not allowing CSS files in the uploads folder), or because
   a rewrite rule in the webserver configuration is blocking the file.
    Unfortunately,
   this is not something that I can directly help with, but that you should ask 
   the server admin or webhost company support about. They will need to find out
   why the URL from above is not working although the file exists in that place.
 * Regards,
    Tobias
 *  Thread Starter [jgarvel](https://wordpress.org/support/users/jgarvel/)
 * (@jgarvel)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/custom-css-not-working-29/#post-6288375)
 * I see. I have these ReWrite Rules
    `<IfModule mod_rewrite.c> RewriteEngine On
   RewriteBase /wordpress/dcdr/ RewriteRule ^index\.php$ – [L] RewriteRule (.*) /
   wordpress/dcdr/index.php?uamfiletype=attachment&uamgetfile=$1 [L] </IfModule>`
   Unfortunatelly I can not delete them because I have a user management plugin 
   that I added for other purposes. Do you know of another way that I can make your
   great plug in work? Can I change the default directory of the Common CSS file?
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/custom-css-not-working-29/#post-6288386)
 * Hi,
 * ah, that explains it.
 * We could indeed change the location of the CSS files using a plugin filter hook,
   but the quicker solution might then be to not use the “Custom CSS” textarea of
   TablePress. So, please remove the CSS from that again (so that the default CSS
   file is loaded again), and instead just put the “Custom CSS” into the style.css
   file of your theme.
 * Regards,
    Tobias
 *  Thread Starter [jgarvel](https://wordpress.org/support/users/jgarvel/)
 * (@jgarvel)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/custom-css-not-working-29/#post-6288403)
 * Ok, I’ll do that instead. Thank you very much for your help.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/custom-css-not-working-29/#post-6288413)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias
 *  [shellll2017](https://wordpress.org/support/users/shellll2017/)
 * (@shellll2017)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/custom-css-not-working-29/#post-6288437)
 * Hello,
 * I’m very new to wordpress… I’ve attempted to create a table and used the following
   code
 * .tablepress-id-2 .column-3 {
    width: 500px; } in plugin options, however it has
   not worked. Please help!
 * Thank you!
 * Here’s what it looks like right now: [http://www.scholarsjourney.com/options-for-medical-schools/](http://www.scholarsjourney.com/options-for-medical-schools/)
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/custom-css-not-working-29/#post-6288442)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * I’m afraid that this won’t work here, as there’s simply too much content in the
   table for it to fit.
    If you want to make that column wider, the other columns
   would have to get more narrow, but the long words in those columns prevent that.
 * To gain space, you could reduce the font size in the table (using some CSS code),
   or maybe switch the page template to a “Full width” template without a sidebar.
 * Regards,
    Tobias

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

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

 * 9 replies
 * 3 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/custom-css-not-working-29/#post-6288442)
 * Status: resolved