Title: Plugin Options &#8211; @Import
Last modified: December 22, 2019

---

# Plugin Options – @Import

 *  Resolved [elindydotcom](https://wordpress.org/support/users/elindydotcom/)
 * (@elindydotcom)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/plugin-options-import/)
 * Hello:
 * It looks like placing the _[@import](https://wordpress.org/support/users/import/)
   url(“url-path-here”)_ directive in the css in the plugin options screen is not
   getting saved. Its rewriting it to _[@import](https://wordpress.org/support/users/import/)“
   url-path-here”_ . Is that expected behavior?
 * Thanks!

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/plugin-options-import/#post-12262135)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Yes, this is kind of expected. But ways are legal in CSS, see e.g. [https://www.w3schools.com/cssref/pr_import_rule.asp](https://www.w3schools.com/cssref/pr_import_rule.asp),
   so that the shorter one is chosen to reduce the size.
 * Regards,
    Tobias
 *  Thread Starter [elindydotcom](https://wordpress.org/support/users/elindydotcom/)
 * (@elindydotcom)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/plugin-options-import/#post-12263083)
 * Hi:
 * Thanks. From what I can tell, the import statements are then being stripped out
   of the stylesheet completely. It looks like the custom styles are being combined
   into the core tablepress style sheet and minimized. But the import statements
   are not being included at all. I think they should end up at the top of the combined
   stylesheet but they’re not there, nor anywhere else in the combined / minimized
   stylesheet.
 * Is it possible that is happening?
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/plugin-options-import/#post-12263132)
 * Hi,
 * Can you please post a link to the page with the table where this problem happens,
   so that I can take a direct look? Thanks!
 * Regards,
    Tobias
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/plugin-options-import/#post-12263139)
 * Hi again,
 * I just tested this on a test site of mine, and can confirm the problem.
    The `
   @import` directive is saved, but it’s not added to the combined/minified version
   of the “Custom CSS”. However, I have no idea why this is the case. My guess is
   that the external PHP library that TablePress uses for this either has a bug 
   here or is removing it on purpose. I’ll have to investigate this more deeply,
   and therefore can not promise a quick solution. I’m really sorry.
 * Therefore, my suggestion would be to paste in the CSS that you wanted to import.
   This should also be better for performance, as it saves another HTTP request.
 * Regards,
    Tobias
 *  Thread Starter [elindydotcom](https://wordpress.org/support/users/elindydotcom/)
 * (@elindydotcom)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/plugin-options-import/#post-12263149)
 * Hi:
 * Thanks for checking into this so quickly. We were pasting all the styles into
   the box but the amount of styles was getting quite large and unweildly for that
   tiny box (we’re applying styles for hundreds of different tables). So we thought
   it would be easier to manage them in external style sheets and take the extra
   loading time hit.
 * Now that we know its a bug and not something silly that we’re doing we can find
   a work-around and load them in a different way.
 * Thanks again!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/plugin-options-import/#post-12263155)
 * Hi,
 * no problem! Another option could of course be to load them via WordPress functions(`
   wp_enqueue_style()`) in your theme’s “functions.php”.
 * Regards,
    Tobias

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

The topic ‘Plugin Options – @Import’ 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/)

 * 6 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/plugin-options-import/#post-12263155)
 * Status: resolved