Title: elementor CSS files path
Last modified: December 6, 2020

---

# elementor CSS files path

 *  [luckysistemi](https://wordpress.org/support/users/luckysistemi/)
 * (@luckysistemi)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/elementor-css-files-path/)
 * I see that elementor files are uploaded in “elementor” folder in the root of 
   the bucket.
 * This cause conflicts when using the same bucket for multi sites
 * Css files are also not loaded in frontend pages

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

 *  [Kleap](https://wordpress.org/support/users/eliottdupuy/)
 * (@eliottdupuy)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/elementor-css-files-path/#post-13754753)
 * Same issue
 * Please update
 *  Thread Starter [luckysistemi](https://wordpress.org/support/users/luckysistemi/)
 * (@luckysistemi)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/elementor-css-files-path/#post-13762139)
 * I propose this solution that fix the problem:
 * file lib/classes/compatibility/elementor.php
 * **add this in module_init function:**
 *     ```
       $root_dir = ud_get_stateless_media()->get('sm.root_dir');
       $this->base_path = strtok($root_dir, '%');
       ```
   
 * **modify this line in sync_rewrite_url:**
 * `do_action('sm:sync::syncFile', $this->base_path.$name, $absolutePath);`
 * **modify delete_elementor_files:**
 * `do_action('sm:sync::deleteFiles', $this->base_path.'elementor/');`
 * **modify one line in delete_css_files:**
 * `do_action('sm:sync::deleteFile', $this->base_path.$name);`
 * **modify one line in delete_global_css:**
 * `do_action('sm:sync::deleteFile', $this->base_path.$name);`
 * this fix the problem and allow to work in multisite setup.
    I assume that the
   first part of the bucket path is common to all the sites. The best could be to
   add a new option to specify this path
    -  This reply was modified 5 years, 5 months ago by [luckysistemi](https://wordpress.org/support/users/luckysistemi/).

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

The topic ‘elementor CSS files path’ is closed to new replies.

 * ![](https://ps.w.org/wp-stateless/assets/icon.svg?rev=1715943)
 * [WP-Stateless - Google Cloud Storage](https://wordpress.org/plugins/wp-stateless/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-stateless/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-stateless/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-stateless/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-stateless/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-stateless/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [luckysistemi](https://wordpress.org/support/users/luckysistemi/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/elementor-css-files-path/#post-13762139)
 * Status: not resolved