Hi team,
Site: https://zebrainternational.co.nz (Pro Max, validated today)
Since updating Pro from 6.8.11 to 6.9.8 (Cornerstone 7.9.8) today, the builder preview shows our pages without their element styling: default text colours, no section backgrounds, header items out of place. The live site looks fine. It happens on every page we’ve opened in the builder (e.g. page IDs 6920 and 8672). We didn’t open the builder just before the update, so we can’t be certain it started with 6.9.8.
What we’ve checked:
- The builder console shows many warnings like "Style tracker could not locate existing style tag
style[id^=cs-6920-generated]" (alsocs-6920-custom,cs-global-custom,cs-theme-options-generated). - The preview HTML has the styles as
<script type="text/late-css" data-cs-late-style="...">blocks. cs-classic.js turns them into<style id="cs-late-css-...">tags, which don’t match the selectors the style tracker looks for. - We cleared the Cornerstone cache (Settings > Advanced > Clear Cache) and the WP Engine cache. No change.
- Output Buffer Mode is off. We haven’t turned it on because it changes the live pages. Should it be on, or is this a bug?
Setup: WordPress 7.1.5, PHP 8.3, WP Engine, child theme (pro-child), Shortcode Storage, WooCommerce 11.3.1.
We also run a small front-end snippet that moves the late-css blocks into <head> on normal page views (for layout shift). It skips builder previews (checks cs_preview_state, GET only) and the preview HTML still has all the original late-css blocks, so it shouldn’t be involved. We can switch it off for testing.
We can give admin access in a secure note if needed.
Thanks,
Daryl Schmidt
Zebra International