1.4.2-beta3: Global class styles are not displayed on the frontend

Global class styles are not displayed on the frontend. After regeneration in settings, global styles start to be partially displayed, to better understand what I mean, you should watch the video. This bug has been haunting me since 1.4.2-beta2. Do you encounter this bug too or does it occur because I’m doing something wrong?

To reproduce the bug you need:

  1. In body, assign any local font, set its weight to 400, and then add div and H1 to the canvas. Set any size for H1 via global class. Add red background for div also via global class.

  2. Go to frontend and make sure no global class styles have been applied.

  3. Go to regeneration settings and update all settings (I ran into a perpetual update of global CSS styles)

  4. Go to frontend and make sure font size and background applied but weight remained default.

  5. Set the font weight in the H1 global class, go to the frontend and make sure the weight has NOT been applied.

  6. Go to regeneration settings, update all values, go to the frontend and make sure the styles with weight and local font are applied.

Environment info
*Fresh installation of Local

  • WordPress version: 6.6.1
  • Cwicly Plugin version: 1.4.2-beta3

Hello @creer,

Thanks for the report.

Indeed, there is an error that is not allowing the process to continue. It will be addressed in the next update.

In the meantime, saving a post/template will process the global styles in the same way as regenerating them from the admin area.

1 Like

Hello @creer,

This should be addressed in 1.4.2-beta4.

Thanks for the report once again.

2 Likes