Forums

TablePress
[resolved] Options saved successfully, but “Custom CSS” was not saved to file. (4 posts)

  1. rchrsmc
    Member
    Posted 5 months ago #

    Hi Tobias

    I am using InstantWordPress so am unable to provide any links. :(

    I added the following css code to the Custom CSS textarea...

    .tablepress th,
    .tablepress td, {
    border: none !important;
    border-collapse: collapse !important;
    border-spacing: 0px !important;

    I put checks in the "Load these "Custom CSS"... and Use a file for storing... check boxes.

    After Saving I noticed that the check box for storing a file (2nd check box) returned without the check mark.

    At the top WP said "Options saved successfully, but "Custom CSS" was not saved to file.

    At the very bottom of the Custom CSS textarea it said "http://127.0.0.1:4001/wordpress/wp-content/tablepress-custom.css file seems not to exist. I have checked that location and that file is present!

    Any ideas/suggestions to get this working?

    Thanks for developing TablePress.

    Best wishes, Greg

    http://wordpress.org/extend/plugins/tablepress/

  2. TobiasBg
    Member
    Plugin Author

    Posted 5 months ago #

    Hi Greg,

    very likely this is just a configuration issue due to working in a local test environment. It's probably a mixture of access rights and Windows paths that lead to this.

    As I assume that you are planning to put your site on a live server, I wouldn't worry to much about it now. It will likely work fine there, and if not, we can investigate this much better there.
    Even though the CSS could not be saved to a file, it will still be loaded and included into the page directly. The result is the same.

    Note that your CSS code contains two small typos: There a comma too much, and a } missing. The correct version would be

    .tablepress th,
    .tablepress td {
      border: none !important;
      border-collapse: collapse !important;
      border-spacing: 0px !important;
    }

    Most likely, the border-collapse and border-spacing shouldn't even be necessary. Instead, I suggest that you try the recommended CSS from http://tablepress.org/faq/remove-borders-from-a-table/ to remove the borders (with .tablepress as the selector, instead of .tablepress-id-N as in the code there).

    Regards,
    Tobias

  3. rchrsmc
    Member
    Posted 5 months ago #

    Thank you for the quick reply. I have noted the typos, tahnks for catching them.

    As soon as I go live I'll let you know if this problem persists. I don't expect it will.

    Best wishes, Greg

  4. TobiasBg
    Member
    Plugin Author

    Posted 5 months ago #

    Hi Greg,

    no problem, you are very welcome!

    Yes, this should not happen on the live site, otherwise we'll investigate it then.

    Best wishes,
    Tobias

Reply

You must log in to post.

About this Plugin

About this Topic

Tags