Location CSS and JS files are loaded

Hi all,
Iā€™m looking for the location the css and js files are loaded in script. (for example integrity-dark.css)
Reason: I want to relocate them to S3 and Cloudfront.

Best regards,
Kai

Hi Kai,

Thanks for writing in! You can locate those resource files from the following paths.

/wp-content/themes/x/framework/dist/css/
and
/wp-content/themes/x/framework/dist/css/

For example, integrity-dark.css is located under the following path.
/wp-content/themes/x/framework/dist/css/site/stacks/integrity-dark.css

Hope that helps.

Hi,
unfortunately I cannot specify redirects.
Is there a way i can modify the code to load the css files from S3?

Hello @KaiHerzig,

Thanks for writing in!

Unfortunately, it will fall outside the scope of support we can offer. I found some threads (not exactly related) that you can take a look to get started:

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.