Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #680590

    Hi,

    I’m having a strange issue with WPML. When I change the language from Dutch to English, the style get’s messed up.

    Steps I’ve taken so far:

    – installed and configured WPML
    – translated the pages into English
    – updated settings in Enfold so both languages have identical options
    – changed default language from Dutch to English

    Now, when I visit the page in the (now default) English language, all looks good. When I change to Dutch, the styling goes wrong. The dimension change (to default 1310px?), the .main_color changes.

    If I change it back to Dutch as the default language, all is well. I cannot see what is happening. Can you help me out here?

    Details are in the private content section.

    Thanks!

    #680617

    I have a similar problem.

    I have two language set : English and French.

    Only the default language is displayed correctly. The other one use different colors for the header.

    Checking the souce, I see a possible source for the difference in layout :
    – Main language uses enfold-child (the activated theme)
    – Secondary language use enfold (the parent)

    #680621

    I also see a difference in the source with other avia-dynamic-css id’s that are loaded:

    – Main language uses enfold_child.css
    – Other language uses enfold_child_nl.css

    #680629

    Switching to enfold (parent), I still ahve the issue.

    But I now see that there is a missing .css file in the secondary language :
    Primary language loads /wp-content/uploads/dynamic_avia/enfold.css
    Secondary language is not loading that file.

    • This reply was modified 8 years, 3 months ago by polynome.
    #680631

    If I change default to Dutch and English to secondary, all goes well. Then the other language uses enfold_child_en.css, but this file is identical to enfold_child.css

    #680639

    Eventually, I managed to have the style working in both language.

    I can not promise this would solve it for you, nor that it’s a definitive fix, but here is waht I did =
    – Export my settings for enfold-child
    – Activate enfold (parent)
    – Import my settings – at this point, the secondary language is still not loading the dynamic_avia css
    – Update the homepage in the secondary language – fomr some reason( caching ?), the secondary language now loads the dynamic_avia
    – Activate enfold-child – the secondary language now loads an empty dynamic_avia/enfold-child-XX.css (XX being the language code)
    – Edit the theme settings in the secondary language (and save them) – Now the dynamic_avia/enfold-child-XX.css is correct

    It still seems that there is a bug with the multilingual settings of the theme, but apparently, a workaround is possible.

    #680663

    Thanks for pointing me in the right direction polynome. I fixed it now by overwriting the enfold_child_nl.css with the enfold_child.css.

    #681170

    Hi,

    Great, glad you got it working @Daniel. Let us know if you should need any further help on the topic. Thanks @polynome for helping out :-)

    Regards,
    Rikard

    #681171

    Hi @Rikard, thanks for the update. No further help needed at the moment :)

    Regards,
    Daniel

    #681566

    Hi Daniel,

    Great, thanks for letting us know :-)

    Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘WPML & Enfold: different styles in different languages’ is closed to new replies.