Archived topic
Losing Styles on Upgrade or Child Theme
5 replies · Started by Natalie on August 12, 2021
I have GP 3.0.3 activated on our production site and want to upgrade to 3.0.4.
I have tested updating on our staging server and when doing so I lose the all of the styles from a plugin that powers our job board (WP Job Manager). I also tested activating the GP child theme and the same thing happens.
I already have a snippet activated to pull the styles from that plugin to our homepage because there seems to be a css issue if you drop their jobs shortcode on multiple pages. Regardless, it works fine on production and has for some time until I try to upgrade.
Wondering if anyone can take a look to see what is going on.
Thanks
Hi there,
What is the snippet?
Are you currently using a child theme on the production site?
Has the current parent theme been modified at all?
3.0.3 to 3.0.4 only has 1 change in the theme so it isn't capable of causing an issue like this:
https://generatepress.com/generatepress-3-0-4/
Leo
No, we're using the main GeneratePress theme on production.
The snippet:
add_action( 'wp_head', function () { ?> <link rel="stylesheet" href="https://devworkpei1.zenu.tech/wp-content/plugins/wp-job-manager/assets/css/frontend.css"><?php } );
I've also pasted the entire stylesheet from the plugin into the additional css area of the customizer and it still will not display correctly.
We've not edited the parent theme.
How are you adding that snippet currently? With Code Snippet plugin?
Any chance you can check with the plugin support to see if they can help to identify the issue?
Leo
I think I found the issue. We had a few custom files in the original theme that we'd forgotten to transfer to the child theme. Seems to be working fine now. Thanks!
No problem :)