# Flush CSS

Elementor Core Advanced

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.

# Command

wp elementor flush-css [--regenerate] [--network]
1

# Arguments

[--regenerate]

(Optional) Re-create the CSS files. Otherwise, updated CSS files will be created by Elementor on the next page visit.

[--network]

(Optional) Flush CSS files for all the sites in the network.

# Usage Examples

wp elementor flush-css
1

This command will flush the CSS files for all Elementor pages. It doesn't create new CSS files, only flush the old files.

wp elementor flush-css --regenerate
1

This command will flush the CSS files for all Elementor pages and re-create the new CSS files.

wp elementor flush-css --network
1

This command will flush the CSS files for all Elementor pages in all the sites in the network.