Tagged: enfold, general layout, stretched layout, woocommerce, wpml
-
AuthorPosts
-
October 16, 2014 at 11:19 am #336700
Hey!
I got a strange problem with Enfold (not happens with other themes);
I run a multilanguage website (WPML, 3 languages, EN as default) and all is working fine (a little Yoast incompatibility problem, soon to be fixed) except that the general layout has not the same size with every languages.
In English, I got the right size (stretched layout, 1130px max cont. width) but in FR or DE the layout is reduced and I really dunno why as the Enfold settings are the very same in all languages…
As this happens only with Enfold, the support team at WPML told me to come to you for your team to have a look at it and figure it out.
Could you please have a look at it and tell me how to get the same layout for every languages?
Thanks in advance, hope to hear soon from you.
Best Regards.October 17, 2014 at 5:41 am #337155Hey MDPC!
Thank you for using Enfold.
Please switch to Enfold (FR) on wp dashboard then go to Enfold(FR) > General Layout > Dimensions panel. The Maximum Container width is set to 1130px. On other languages, it is set to 1310px.
Cheers!
IsmaelOctober 17, 2014 at 7:08 am #337187I encountered this issue as well – for some reason when you change the width, it should update the dynamic_avia but it does not,i suspect it might be a bug but i found a way to workaround.
in order to work around this, i manually changed the enfold_child.css and enfild_child_en.css (your files might be named differently, depending on your actual theme name – mine is a child theme) which are located in “wp-content\uploads\dynamic_avia”.
.container {width:100%;} .container .av-content-small.units {width:73%; } .responsive .boxed#top , .responsive.html_boxed.html_header_sticky #header{ width: 1310px; max-width:90%; } .responsive .container{ max-width: 1310px; }
(your setting might look different – mine is boxed and 1310px wide)
please note that as far as i understand, the files are generated by script so if you change the layout later, you might need to change the settings again.
it worked for me but please note that i’m just a user like you, maybe the guys in kriesi will have a better solution (mine works though.. :)
Zohar
October 17, 2014 at 9:46 am #337216Hi!
and thank you for your answers;
@ Ismael; I forgot to switch to 1310px when I did some tests but as you can see even when I put the same layout values in every languages (what I did just right now) it is still the same: the layout is reduced in FR & DE but the right dimension in EN.
@Zohar; Thank you very much to take the time trying to resolve my problem!
OK, I understand for the files to edit but may I ask you if I need to add this code or to overwrite existing one? Could you please be kind enough to indicate me wich code I have to add for a stretched layout / 1310px / sidebar ratio 80/20 an where..?
Anyway I thank you for your answer wich indicates me where to dig to try finding a solution, your help is greatly appreciated!Best Regards.
October 17, 2014 at 10:02 am #337221Hi again!
I just overwrite enfold_de.css & enfold_fr.css with enfold.css content and now all is in the same side!
That’s a workaround but it works like a charm, thanks again to Zohar for pointing the files to edit and wich lines of code where responsible for the issue.
Thanks for your support!October 17, 2014 at 1:16 pm #337276 -
AuthorPosts
- The topic ‘General layout not the same size in different languages’ is closed to new replies.