Overview of the Issue
When using BeTheme’s BeBuilder live editor, content translated using WPML’s Advanced Translation Editor translates successfully, but the design of the page is not copied to the translation.
Workaround
This issue is fixed. Updating to the latest version solves it on your site, so you only need this workaround if you can’t update yet.
Please, be sure of making a full backup of your site before proceeding.
- Open …/wp-content/themes/betheme/functions/builder/class-mfn-builder-front.php file.
- Look for line 146 and replace:
$dir = wp_upload_dir()['basedir'] . $path; if( get_post_meta($this->post_id, 'mfn-page-local-style', true) && file_exists($dir) ){With:
$css_file_path = '/betheme/css/post-'. $this->post_id .'.css'; $dir = wp_upload_dir()['basedir'] . $css_file_path; if( get_post_meta($this->post_id, 'mfn-page-local-style', true) && file_exists($dir) ){