• Resolved imranp

    (@imranp)


    Hello,

    When creating a page with the Elementor pro plugin it also creates a CSS file for that page. We have a CDN configured through the W3 Total Cache plugin so assets like the CSS and JS are hosted on there. For those pages created with Elementor, the Elementor page CSS file does not get uploaded to the CDN. In the page source it links to the CSS CDN file but when you go to it it says resource not found. I can see the CSS files in the hosting server. However the CSS files don’t get uploaded to the CDN so it appears to be a syncing issue.

    I’ve seen a similar issue on this board. The suggestion was exclude the CSS files from being minified. I tried to exclude the folder e.g. assets/media/elementor/css/* but that did not work.

    Is there anything else I can do to either exclude the Elementor page CSS files from using the CDN or getting those CSS files to sync to the CDN?

    Thanks,
    Imran

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @imranp

    Thank you for reaching out and I am happy to assist you with this.
    Can you please share the website URL?
    You can exclude the specific files from being minified, by adding the file path to Peformance>Minify>Advanced>”Never Minify following CSS files”:
    example:
    /wp-content/themes/some-theme/assets/css/some-css-file.css
    However, I don’t think the problem is in modification. You can exclude files from the CDN in Performance>CDN>Advanced>Rejected Files:
    There you can use placeholders or just specify the path of the file/folder.
    I hope this helps!
    Thanks!

    Thread Starter imranp

    (@imranp)

    Hi @vmarko,

    Thanks for your quick response. Excluding the folder from the CDN worked. Every time I made changes with Elementor I had to clear the browser cache as well. Thanks for your help!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Issue with Elementor page CSS files’ is closed to new replies.