You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Styles set in Elementor are saved in the database, this information is used to generate CSS files in the `uploads` folder. Elementor CLI `flush CSS` command will flush all the CSS files in cache and recreate them using the most recent settings stored in the database.
5
+
Styles set in Elementor are saved in the database, this information is used to generate CSS files in `/wp-content/uploads/elementor/css/` folder. Elementor CLI `flush-css` command will delete all the cached CSS files and recreate them using the most recent settings stored in the database.
6
6
7
7
## Command
8
8
9
9
```bash
10
-
wp elementor flush-css [--network]
10
+
wp elementor flush-css [--regenerate] [--network]
11
11
```
12
12
13
13
## Arguments
14
14
15
-
`[--network]`
15
+
`[--regenerate]`
16
16
17
-
_(Optional)_Flush CSS files for all the sites in the network.
17
+
_(Optional)_Re-create the CSS files. Otherwise, updated CSS files will be created by Elementor on the next page visit.
18
18
19
-
`[--regenerate]`
19
+
`[--network]`
20
20
21
-
_(Optional)_Re-create the CSS files. Otherwise they will be created by a page visit.
21
+
_(Optional)_Flush CSS files for all the sites in the network.
22
22
23
23
## Usage Examples
24
24
25
25
```bash
26
26
wp elementor flush-css
27
27
```
28
28
29
-
This command will flush the CSS files for all Elementor pages.
29
+
This command will flush the CSS files for all Elementor pages. It doesn't create new CSS files, only flush the old files.
30
30
31
31
```bash
32
-
wp elementor flush-css --network
32
+
wp elementor flush-css --regenerate
33
33
```
34
34
35
-
This command will flush the CSS files for all Elementor pages in all the sites in the network.
35
+
This command will flush the CSS files for all Elementor pages and re-create the new CSS files.
36
36
37
37
```bash
38
-
wp elementor flush-css --regenerate
38
+
wp elementor flush-css --network
39
39
```
40
40
41
-
This command will flush the CSS files for elementor page builder and re-create the new CSS files.
41
+
This command will flush the CSS files for all Elementor pages in all the sites in the network.
0 commit comments