CSS messed up after upgrade to 5.0.8

I’m also having trouble with the latest version upgrade
Current Pro theme version 4.3.3 - works great

When I upgrade to the latest version 5.0.8, it activates the Cornerstone plugin and things seem to work, but the styling/CSS on the front end is now messed up (fonts huge). Seems like it’s disabled my child theme and/or not applying CSS correctly to h1 and h2 headers. Body text looks OK.

Had to revert to backup and now things are back to 4.3.3 and look normal.
Child theme is still active after upgrade, but css typography settings seem to now be all messed up.
Tried editing global CSS to change h1 and h2 font sizes when at 5.0.8 --> didn’t do anything.

Tried clearing caches including cloudflare, no help.

Also - banner images are not formatted with sizing in theme - they show up huge along with h1 and h2 text. It’s almost like with the upgrade it’s no longer applying my child theme or some of the other CSS formatting settings from pro. Unclear to me.

Hello @paulabramsonmd,

Thanks for writing in!

FYI: Self-responding to your own thread pushes back the thread to our Queue system which makes the response time a little longer.

We have logged in and checked your child theme. Since you have several template overrides, once you update to Pro 5.x.x, those template overrides will no longer work. You will have to update your child theme:
1.) Please remove the index.php file.
2.) Relocate the _landmark-header.php into your child theme’s folder wp-content\themes\pro-child\framework\legacy\cranium\headers\views\integrity\
3.) The rest of the files in your child theme could stay in place.

Hope this helps. Please let us know how it goes.

Hello! Thanks for the response.

I logged into my server via sftp and saw the attached file structure and _landmark-header.php was in a similar but different directory path. There was no …\legacy\cranium… path…

I did delete (actually just rename just in case) index.php in the \wp-content\themes\pro-child directory.

Can you advise if this is already what you were talking about? or if you were referring to some other _landmark-header.php in another directory tree, or ?

Thanks, and apologies if I’m being clueless. I didn’t originally design this site but had to take it over when the original developer stopped performing, so some things I’m not sure how/why they were set up the way they were.

(this is currently on the old 4.x site - i haven’t upgraded again yet)

Hello @paulabramsonmd,

You will have to create this folder path wp-content\themes\pro-child\framework\legacy\cranium\headers\views\ in your child theme since it does not exist yet.

Best Regards.

Huh. I did as you said (removed child theme index.php and moved

wp-content\themes\pro-child\framework\integrity_landmark-header.php to

wp-content\themes\pro-child\framework\legacy\cranium\headers\views\integrity\ (see screen shot of tree),

and pre-update to 5.0.8 site looked fine.

But after update to 5.0.8 same issue with images and h1, h2 font sizes etc. is still happening.

It’s currently at the 5.0.8 on the live site if you want to see (https://mydoctorsf.com/covid-19-testing-for-travel is a good example).

Have cleared caches etc.

Hello @paulabramsonmd,

The images and font sizes issues are caused by the Hummingbird plugin’s minification. Please do check and compare the URLs below:

Please temporarily clear your Hummingbird plugin cache or at least temporarily deactivate the plugin while we are troubleshooting the issue.

And I also noticed that you were using Cloudflare. You will have to log in to your Cloudflare account and purge your site cache. If possible, turn ON the Development Mode on your Cloudflare while we are still fixing your issue.

Kindly let us know how it goes.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.