Losing styles on preview screen
-
Hey there. I’m using Elementor to edit my Website alongside PublishPress suit to handle page/post editing by the users. I created a flow to submit new revisions when editing a page then the admin needs to approve the changes before being published to the website. It turns out that on the PublishPress revisions preview screen the page is loading incorreclty by not loading the CSS correctly. See the next two images, the first one is from the Preview screen of publish press revisions, the second one is the actual published page
So the thing is that if I regenerate the CSS file of elementor in the Elementor Menu I got the styles to load correctly on preview screen but then on the published page it doesn’t loads the styles. So I need to keep regenerating the CSS files everytime to got the pages to work.
One more information is: Inspecting the page (F12) I noticed that the page doesn’t fetch a CSS file correctly in the Preview screen but if I regenerated the CSS files on Elementor it does. The same happens for the published page: If a revison was published it will not fetch the CSS file correctly unless I regenerated the CSS files in the Elementor Menu.
I’m using Elementor Pro (Essential licence) and PublishPress Revisions free version.
The topic ‘Losing styles on preview screen’ is closed to new replies.