CSS Files

WordPress.com VIP Platform

This document is for sites running on our WordPress.com VIP platform.


Tips and best practices for CSS files:

  • Use wp_enqueue_style() to load stylesheets other than style.css.
  • Make sure to use relative paths for URLs in your stylesheet.
  • Avoid generating style definitions with PHP, as having a static CSS file delivered from our CDN is much faster than generating a style via a PHP script.
  • Do not change the theme name in style.css once the theme is live, as it will break the loading of Page Templates.

Ready to get started?

Tell us about your needs

Let us lead the way. We’ll help you select a top tier development partner. We’ll train your developers, operations, infrastructure, and editorial teams. We’ll coarchitect your deployment processes. We will provide live support for peak events. We’ll help your people avoid dark alleys and blind corners, and reduce wasted cycles.