Problem/Motivation

I have a few subthemes
I want to create critical css directories for each so that when a site admin switches among themes or an end user selects a different theme for her group, critical_css will still be active.

Is it right to assume that i only have to create a critical_css directory for the subtheme and not the basetheme?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

SocialNicheGuru created an issue. See original summary.

albertosilva’s picture

Yes, this module detects which theme is the active one, and loads the critical CSS file from that directory. Hence, you should create a critical_css directory for each theme/subtheme, and place there the specific critical CSS for each one.

albertosilva’s picture

Assigned: Unassigned » albertosilva
albertosilva’s picture

Status: Active » Closed (works as designed)