• Resolved Vincentcatchall

    (@vincentcatchall)


    Dear Tobias,

    First of all, thank you so much for the awesome plugin !

    Basically the issue I have is about styling. I want to make some very basic modifications (colors of header / search box border mainly).

    However, whenever I write my CSS into the Options / custom CSS field, I get an “HTTP ERROR 500” and nothing loads.

    SO I tried to change the CSS directly from the code, and I changed a few lines in the files:
    tablepress/css/default-rtl.css
    tablepress/css/default.css
    tablepress/css/default-rtl.min.css
    tablepress/css/default.min.css

    Here is what I changed

    .tablepress thead th,
    .tablepress tfoot th {
    background-color: #XXXXX;
    }

    However, eventhough I didnt get an error this time, no changes seem to appear on the table. It is quite frustrating, and I looked for anwser in this forum but couldn’t find any explanation, hence my message !

    Thanks a lot for your time,

    Have a great day,!

    Vincent

Viewing 1 replies (of 1 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Manipulating those files is strongly discouraged! Not only will you lose these modifications after a plugin update, but this will also not work if at least parts of the TablePress CSS files are saved correct (in the wp-content folder).

    So, what you will need to find out is why your server returns that HTTP error 500 (Internal Server Error). It could either be that your server has security settings in place that prevent WordPress/TablePress from saving a CSS file to the disk. It could also be that the server does not like CSS in the HTTP request body.
    The best way to find out more about this should be to take a look at the server’s error log file, maybe with the help of your web host company.

    Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Issue with custom CSS’ is closed to new replies.