How to change WordPress’ stylesheet URL with add_filter(). Just a quicky: To change the stylesheet URL in WordPress, to offload static content, put the following in your theme’s functions.php file:

add_filter('stylesheet_uri', 'saotn_change_css');
function saotn_change_css() {
  return "//[theme name]/style.css";

Now your theme’s style.css will be loaded from a sub domain -or hostheader- called This can improve overall website performance.