I have a Woocommerce product template for all my products.
Recently, whenever I make even a small edit, the product pages completely break.
Here is a product page on a staging site where I made a small edit: hidden link
And you can see what the page is supposed to look like on my main site: hidden link
The change I was trying to make was set left-hand padding in the section below to zero on mobile: hidden link
This has happened for each of my last 3 edit attempts. I have WP Rocket, Perfmatters and Cloudfront CDN .... not sure if these might be causing some issue. I deactivated these plugins (cloudfront operates via perfmatters) and cleared the caches of both Cloudfront and WP Rocket, but the issue persisted.
Please advise and let me know if you need me to give you extra info.
In a case like this when the plugins are not functioning as intended we recommended that you disable the non-toolset plugins.
What this means is that you will need to go through your list of plugins and disable each of your plugins one at a time while checking to see if the issue still remains.
Are there any conflicts between Toolset and the latest version of Spectra (Astra page builder)? I have disabled plugins but the issue remains. When I am logged in it looks normal, but logged out/incognito looks broken
I have WP Rocket, Perfmatters and Cloudfront CDN .... not sure if these might be causing some issue. I deactivated these plugins (cloudfront operates via perfmatters) and cleared the caches of both Cloudfront and WP Rocket, but the issue persisted.
I took a look at the site once more by take a copy and deploying it locally here.
My assumptions were correct in that your server seems to be blocking the css for the Spectra plugin. On my test I was able to make changes to the template and save, while the template still retains its structure. See Screenshot
As you can see there is the text "test refs" at the bottom of the screenshot.
What I recommend here is to get in touch with your server hosts as well as the Spectra plugin's support team as the site works fine on a different server environment.
So do tell them that it is not a plugin or cdn issue, but specifically a server issue? And is there anymore specific information I can give them. I am presuming you mean Runcloud, the control panel.
Also please advise me on what exactly I should ask Spectra
They will need to look into the issue as I mentioned in the thread with the screenshots that the css files are returning an error 404. Unfortunately i'm not able to give an accurate description as to why this is occurring , the only thing i currently know is that it works fine on my end.
Perhaps checking with your website hosts and having them look at the console of the site to see the 404 errors on the screenshot will let them know what is blocking the files. It can be the firewall rules for the server.
You can provide them the screenshot I sent as well with the error for them to have a look.
Hi Shane I found the issue. As you said pointed out, it is a spectra CSS problem. More specifically it was how WP Rocket was removing unused CSS.
I had purged cache and deactivated the plugin before, but the issue was only resolved after I deselected the CSS option within WP Rocket and then cleared the cache.
I will message Spectra as you have suggested. Thank you for all your help!