• I’m trying to figure out a way to regenerate CSS through code, and not by manually clicking a button.

    There’s any way to do this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have the same problem: I am a plugin author, my plugin (Phoenix Media Rename) change file names writing directly into database and Elementor don’t regenerate css, losing images added through css.

    I need to call the Elementor function to regenerate css, is there an API that offer this function?

    C.

    Thread Starter renancardosofc

    (@renancardosofc)

    @crossi72 I managed to “force” elementor to regenerate the CSS by deleting the register from database. You just need to look inside the wp_postmeta table, and search for _elementor_css row with the desired post_id and delete it, and once you visit the page, a new CSS file will be generated

    Hi @renancardosofc,
    thank you for your hint, it worked ??

    I also had to edit _elementor_data record to let elementor generate a working css.

    C.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Regenerate CSS’ is closed to new replies.