• Resolved fr33lanc3r

    (@fr33lanc3r)


    I have found a bug when duplicating an Elementor site. Everything transfers over perfectly, but the url for a Section background image path still points to the old path. (Using current version of WP, Duplicator, Elementor Pro)

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Cory Lamle

    (@corylamleorg)

    Hey @fr33lanc3r,

    Do you know if the Elementor section background image path is stored in the database? Also was the URL exactly the same as the one shown on Step 3 of the installer?

    Thanks

    Thread Starter fr33lanc3r

    (@fr33lanc3r)

    I see that Elementor is generating a css file for every post-id in this directory.
    wp-content/uploads/elementor/css/post-{post-id}.css

    The full path is used for the background image. It is the exact “old url” that has been replaced throughout the database.

    Here is a code block:

    .elementor-11 .elementor-element.elementor-element-50d6a4f:not(.elementor-motion-effects-element-type-background), .elementor-11 .elementor-element.elementor-element-50d6a4f > .elementor-motion-effects-container > .elementor-motion-effects-layer {
        background-image: url("full path to image");
        background-position: bottom left;
        background-repeat: no-repeat;
        background-size: cover;
    }
    Cory Lamle

    (@corylamleorg)

    Hey @fr33lanc3r

    Unfortunately, the plugin is not capable of replacing hard-code paths in files that are not common (only common known files such as the wp-config.php). I would recommend you contact the Elementor team and have them store the data in the database as that is a more common/proper architecture approach.

    Hope that helps

    Thanks~

    Thread Starter fr33lanc3r

    (@fr33lanc3r)

    Thanks. I see Elementor has to tool to replace urls and regenerate CSS. So I will have to add an extra step after extracting with Duplicator when using Elementor.

    Elementor > Tools > Replace URL
    Elementor > Tools > Regenerate CSS

    Thanks for a great product and quick responses!

    Cory Lamle

    (@corylamleorg)

    Thanks for the update!

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

The topic ‘Bug with Elementor section background images’ is closed to new replies.