Hi @wpsi1 ,
Thank you for using PublishPress Blocks.
Could you let me know whether only a specific CSS rule is missing, or if all of your custom CSS is missing?
Also, when you mention the CSS, are you referring to the Additional CSS section shown here?
https://prnt.sc/nVvJBzV6QTgR
Or are you referring to the Additional CSS Class(es) field shown here?
https://prnt.sc/DMWPOTgIkjra
Thread Starter
wpsi1
(@wpsi1)
Hi @rizaprihananto, thanks for the reply. If i upgrade to v3.7.4 then ALL my custom CSS is missing across both published posts and saved drafts. The CSS was being used in the “Additional CSS Class(es)” section from your second screenshot. It’s just blank after upgrading to v3.7.4
If I roll back to v3.7.3 it restores the CSS on older published posts, with (randomly) only a few more recent posts still missing it. I think it might be that any posts which were published before v3.7.3 was released on 17 June are ok and restore their CSS. Any post which was created after v3.7.3 doesn’t seem to work, even if i go back in to that post and edit it, update it, add the code back in etc. when saved, those posts still don’t seem to show the formatting. Older posts from before 17 June seem to have been restored fine.
Any draft posts I have lose their CSS formatting after upgrading to v3.7.4, and are still missing the formatting once i’ve rolled back to v3.7.3. I can add it back in though of course manually.
Hi @wpsi1 ,
Thanks for confirming.
I was able to validate the issue, and I’ve now escalated it to our developers for further review and investigation.
You can also follow the progress here:
https://github.com/publishpress/publishpress-blocks/issues/1842
Thread Starter
wpsi1
(@wpsi1)
Hi, has there been any further update on this issue please? thanks
Hi @wpsi1 ,
Could you try installing this package on your site and test the fix?
Once you’ve installed it, please let us know whether the issue persists. This will help us confirm if the fix works correctly in your environment.
PublishPress Blocks CSS Fix
Thread Starter
wpsi1
(@wpsi1)
That seems to resolve the issue. I had to replace the CSS on any draft posts where it was used, as it was completely deleted. But once added back in, the formatting is used in the draft post itself and in the “public preview” for that post.
A few of my published posts that were published during the time when this has been buggy had been missing the CSS formatting before as well, even though (oddly) I had added the CSS code in that post. Since this new version, the CSS got removed from those posts, but going in to edit them fixes it and the updated post now includes the formatting.
Thanks!
Hi @wpsi1 ,
Thank you for confirming.
Feel free to keep monitoring the behavior to make sure the issue doesn’t occur again. If you notice anything unusual, please don’t hesitate to let us know.