Offload S3 background image CSS URL Rewrites

Hi Beaver Builder Team,

We are using WP Offload Media (Upload Your WordPress Media to Amazon S3 with WP Offload Media - Delicious Brains Inc) in order to move our media files to Amazon S3 and serve them via a CDN. This works correctly with Beaver Builder, except for background images where the URL is established in the generated CSS files.

Is there a known fix for this combination, or a hook we can use to ensure the URLs are rewritten in the CSS to change from the site URL to the CDN url?

~~Potentially related to this old thread: https://community.wpbeaverbuilder.com/t/hook-for-amazon-s3-cloudfront-plugin/7624~~ Edit: These are hooks for the file locations, not for the URLs inside the files. Same plug-in, different issue.

Thank you,
Stefano

In case someone runs into this. I ended up implementing a URL rewriter on the front-end via jQuery, its less than ideal, but its an OK workaround in order to find the URLs that need to be replaced.

Would still be interested in some feedback from the Beaver Builder team to determine if there’s any way to address this server side.