• Hi Tom

    I see that the CSS are stored in the database within the wp_options table.

    The original CSS is:

    .aepro-section-bs {
        left: 0;
    }
    /* PART 1 - Before Lazy Load */
    img[data-lazyloaded]{
    	opacity: 0;
    }
    
    /* PART 2 - Upon Lazy Load */
    img.loaded{
    	-webkit-transition: opacity .5s linear 0.2s;
    	-moz-transition: opacity .5s linear 0.2s;
    	transition: opacity .5s linear 0.2s;
    	opacity: 1;
    }

    And what is stored into the database is:

    a:2:{s:3:"css";s:302:".aepro-section-bs {
        left: 0;
    }
    /* PART 1 - Before Lazy Load */
    img[data-lazyloaded]{
    	opacity: 0;
    }
    
    /* PART 2 - Upon Lazy Load */
    img.loaded{
    	-webkit-transition: opacity .5s linear 0.2s;
    	-moz-transition: opacity .5s linear 0.2s;
    	transition: opacity .5s linear 0.2s;
    	opacity: 1;
    }";s:5:"theme";s:1:"1";}

    Well, ok, now all my websites are managed with cPanel and I use a nice cPanel tools to copy/backup/clone : Installatron.

    The issue is when I clone a website A to another website B everything is cloned except the CSS data… When I go to the new cloned website, in /wp-admin/themes.php?page=simple-css the CSS editor is empty…

    Note that Installatron clone tools, clone everything, included the database.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tom

    (@edge22)

    Hi there,

    Simply moving the wp_options table from one database to the other will bring along with CSS. Have you considered using a migration plugin?

    Thread Starter pako69

    (@pako69)

    Hi Tom

    “Have you considered using a migration plugin?”
    > nope… and I will never, Installatron + cPanel is a killer 🙂 because the clone is perfect and cloned from any of my cPanel account.

    I only have the issue with Simple CSS.

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

The topic ‘Don’t restore the CSS when using cPanel clone’ is closed to new replies.