BLOG
eCommerce Insights
Why a new Shopify theme can still load unnecessary CSS
A modern theme does not prove that optimisation is active in your store. I explain how to investigate CSS loading, assess the work needed and avoid unnecessary reinstallation costs.
When I read that a platform automatically makes a store faster, I want to understand where the feature description ends and the result for an individual website begins. That distinction matters to a merchant who has chosen a modern theme and expects its performance improvements to be working. If the pages still feel slow, the next proposal may be a paid rebuild.
A Shopify Developer Community discussion about CSS brought me back to this question. CSS controls how a page looks, including its layout, dimensions and colours. What interests me here is the quality of the decision that follows. What evidence should we have before spending a merchant’s budget on performance work?
What Shopify confirmed about Horizon
On 11 November, Shopify confirmed that installing Horizon through the admin theme library could leave subsetting disabled. The fix covers new installations. On 12 November, support offered to review enabling it on an existing theme without reinstalling; merchants should provide the thread and theme ID. This is a support review route, not confirmation that every affected store is fixed. Shopify’s replies.
I would not read this as evidence that Horizon is generally a poor theme. The thread provides neither a prevalence estimate nor measured lost sales. It does show why a proposal to rebuild a storefront should be grounded in the particular store we are responsible for.
What Shopify actually reduces
The official announcement describes CSS subsetting as selecting styles from {% stylesheet %} tags belonging to the sections, blocks and snippets rendered on a page. This reduces the collection of styles delivered. It is not the same as removing every unused CSS rule.
The documentation also defines the boundaries: ordinary stylesheets in assets and inline styles are not automatically reduced by this mechanism. I would therefore ask for clarification if a proposal promised to remove all unnecessary CSS by enabling a single feature.
Consider a hypothetical clothing store. Its home page has a large promotional section, collections have filters, and product pages have size selectors. A shopper arrives at a product page from an advertisement. It makes sense to examine which resources that journey needs. But a large file alone does not tell us how much it delays the product appearing or interferes with choosing a size.
This is where a technical recommendation needs measurement. The web.dev resource-loading guide explains how blocking CSS can delay rendering. Its significance for a particular page must be established from that page’s loading behaviour, rather than inferred from a filename.
How to avoid a misleading diagnosis
Shopify advises inspecting the complete CSS URL for subset= outside the theme editor. The full file may also serve as a compression dictionary. Shopify’s explanation.
That is a useful reason to examine the audit itself. If a specialist sees two similar requests and calls one unnecessary, I would ask them to explain the purpose of each. A visible symptom should lead to an investigation of the mechanism behind it.
There is another trap. Chrome DevTools Coverage helps identify code unused during a recording. A short recording of the initial screen does not describe the whole store. I would include opening the mobile menu, using filters, changing variants and opening the cart. Styles that are not needed before the first interaction may become necessary afterwards.
For that reason, “remove unused CSS” is too vague a task for me. We need the pages, interface states and evidence that the removed code will not be needed by a customer. Our Shopify diagnostic services provide a way to establish the issue and its priority before agreeing on changes.
More insights for Shopify stores
Shopify tips, news and practical advice for merchants — all in our Telegram channel.
Join our channelWhat I would ask an agency to check
I would frame the brief like this: “Check stylesheet loading on the pages that matter to sales. Show where there is a verified delay, which resources contribute to it and the smallest sensible scope of work. Estimate a theme replacement separately if it is genuinely necessary.”
One practical acceptance checklist is enough:
- Record the published theme, its ID and the URLs tested. Include the home page, a collection, a product page and the cart, plus a significant advertising landing page if it differs.
- Preserve baseline measurements and network requests. Compare the same pages under comparable device, network and cache conditions, and repeat the measurements.
- Separate theme CSS, custom work and app resources. Identify the mechanism responsible for each problematic resource and the evidence of its impact.
- Check interactive states and the mobile layout. Explicitly record anything that cannot be confirmed from the available evidence.
- Propose the change, estimate the effort and define how to roll it back. After approved implementation, repeat the same checks and show the before-and-after result.
This makes agency proposals easier to compare on substance. “Speed optimisation” without page coverage or acceptance criteria can become an open-ended engagement. When the investigation has already narrowed to one difficult fault, a root-cause investigation may be more appropriate than repeating a general audit of the entire store.
Why I would not start with a reinstall
Moving to another theme installation may involve restoring settings, templates and app placements. Even if a fresh installation looks faster, the comparison needs equivalent versions of the store. Otherwise, we may be comparing a working business with all its features against an almost empty storefront.
My sequence would be to confirm the cause, examine available remedies and then assess the intervention. Contacting support belongs in that evaluation. It does not eliminate development work, but it may change its scope.
Before changing code, I would preserve the theme and its settings. Enabling an optimisation should be followed by visual and functional checks. A faster page with a broken variant selector or cart layout is not a successful result.
There is an architectural reason for this caution too. Shopify warns that subsetting can expose dependencies on styles defined in unrelated files that are not rendered on the page. Developers can use the ValidScopedCSSClass check in Theme Check. That supports reviewing the code first; it does not justify assuming a full theme rewrite is required.
How to assess the benefit to the store
I want to see two outcomes. The technical outcome is whether loading behaviour changed on the agreed pages while functionality remained intact. The customer outcome is whether the journey from product to cart became easier. A smaller CSS payload does not, by itself, demonstrate more orders.
Suppose the main delay in our hypothetical store turns out to be the image at the top of the page. We should then compare the expected benefit of CSS work with improving that image. If pages already load adequately but customers cannot understand sizing or delivery, more optimisation hours may be less useful than clearer information. This is a business decision that needs evidence from the store.
Our article on Shopify website speed considers the wider customer journey. Here I would add a stopping criterion: after addressing the verified cause, assess the remaining opportunity before continuing to pay for marginal technical improvements.
The connection with search also needs precision. Google uses Core Web Vitals, but good scores do not guarantee top rankings. In our SEO and GEO work, performance sits alongside accessibility to crawlers, content and product data. Enabling CSS subsetting should not be presented as proof of increased search or AI visibility.
The conclusion I draw
This example reminds me why diagnosis should come before a remediation estimate. A platform may offer a useful feature and a theme may contain sound code, yet an individual store can produce a different result. Understanding that before approving a substantial rebuild can prevent unnecessary work.
A useful outcome for the merchant is a clear explanation of what gets in the customer’s way, the evidence behind that conclusion, a proportionate remedy and a way to verify its effect. At IceStoreGroup, we can start with diagnosis, define the scope and agree on implementation separately. That sequence makes the budget discussion concrete and avoids paying for a theme replacement simply because it was the first solution proposed.
Have questions about the article? Contact the author on Telegram — @BobSaylor