Title: jquery-ui.css cause serious delay
Last modified: April 4, 2019

---

# jquery-ui.css cause serious delay

 *  Resolved [alexlii](https://wordpress.org/support/users/alexlii/)
 * (@alexlii)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/jquery-ui-css-cause-serious-delay/)
 * Hello,
 * I found there is a file from the following address:
 * [https://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css](https://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css)
 * Our server is in China, and we are blocked by Chinese Government Firewall, we
   can not access that file of jquery-ui.css.
 * Please check the screenshot:[http://prntscr.com/n76k0r](http://prntscr.com/n76k0r)
 * So, is there anyway to load that file from local server please?
 * Thanks

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

 *  Plugin Author [Jake Morrison](https://wordpress.org/support/users/jakeom/)
 * (@jakeom)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/jquery-ui-css-cause-serious-delay/#post-11409639)
 * Hi there!
 * You can use a variation of this snippet to load a jQuery UI theme from a different
   location. You can put this in your theme’s `functions.php`.
 * [https://gist.github.com/jom/81c700d11e19d32574a197466b47fb6c](https://gist.github.com/jom/81c700d11e19d32574a197466b47fb6c)
 * You’ll need to download the theme you would like from jQuery UI ([https://code.jquery.com/ui/](https://code.jquery.com/ui/)).
   In WPJM, the default is `smoothness`.
 * The second parameter to `wp_register_style()` should point to where you uploaded`
   jquery-ui.css`.
 * For example, you might replace:
    `'//code.jquery.com/ui/' . $jquery_version .'/
   themes/black-tie/jquery-ui.css'` with `'https://example.com/assets/jquery-ui/
   jquery-ui.css'`.
 * Hope that helps!
 * Best,
 * Jake
 *  Plugin Contributor [Richard Archambault](https://wordpress.org/support/users/richardmtl/)
 * (@richardmtl)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/jquery-ui-css-cause-serious-delay/#post-11517838)
 * I’m marking this thread as Resolved as it’s been more than a month since the 
   last reply. If you still need help, please do reply again and mark the thread
   as Unresolved!

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

The topic ‘jquery-ui.css cause serious delay’ is closed to new replies.

 * ![](https://ps.w.org/wp-job-manager/assets/icon-256x256.gif?rev=2975257)
 * [WP Job Manager](https://wordpress.org/plugins/wp-job-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-job-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-job-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-job-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-job-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-job-manager/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Richard Archambault](https://wordpress.org/support/users/richardmtl/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/jquery-ui-css-cause-serious-delay/#post-11517838)
 * Status: resolved