FIX: Incorrect Headline Font Size

Hi everyone,

If you’ve used the V2 headline element in X (or standalone Cornerstone), this recent update may have changed the font size on your pages. This is because we changed some generated styles. If you’re using Pro, you shouldn’t experience this because Pro has a cleanup system to purge generated styles on each update. We need to get this moved into X, but for now you can use either of the following solutions.

Solution 1

Re-save the page(s) containing the headline. Anytime a page is saved, the styles are regenerated.

Solution 2

If you have a large number of pages, this solution might be faster.

  1. Add the code below to a child theme.
  2. Browse around the front end
  3. Remove the code. Important: If this code is not removed when you’re finished you will have performance problems because it will be running a DB query on every load.
if ( function_exists('cornerstone_cleanup_generated_styles') ) {
  cornerstone_cleanup_generated_styles();
}