Hi everybody,
After several months without modification of my website, I changed the English version (which is the second language) this morning, after saving, the rendering was really bizarre, the design of the page seems absent.
I don’t understand.
I use wpml for translation.
Hey kouamx100,
Could you post a link to the site in question so that we can take a closer look please?
Best regards,
Rikard
It’s Design/layout problems on the translated page (on enfold wordpress theme)
I am trying to fix the layout problem with my translated page
Instead, I got different layout on all translated pages (blue instead of black, not the right police etc). However, the images have been duplicated.
Hi,
Ok, thanks for the description of the problem. Do you have a link to where we can see it?
Best regards,
Rikard
Hello,
The problem was in my local tests. Currently in production all the pages I have modified the French version, the English version has been overwritten by the French version.
I solved my problem with the help of this function found on the forum WPML
function wpmlcore_3937_fix_for_enfold_page_builder( $post_ID, $post ) {
if ( class_exists( 'WPML_Compatibility_Theme_Enfold' ) ) {
return;
}
$page_builder_active = get_post_meta( $post_ID, '_aviaLayoutBuilder_active', true );
$page_builder_shortcode_tree = get_post_meta( $post_ID, '_avia_builder_shortcode_tree', true );
if ( $page_builder_active && $page_builder_shortcode_tree ) {
update_post_meta( $post_ID, '_aviaLayoutBuilderCleanData', $post->post_content );
}
}
add_action( 'wp_insert_post', 'wpmlcore_3937_fix_for_enfold_page_builder', 10, 2 );
Hi,
We are happy you for it short out.
Please feel free to create a new ticket, if we can do anything for you regarding our theme.
Best regards,
Basilis