Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1420964
    #1420988

    Hey slikslok,
    Thanks for the link to your page, when I check your logo is changing based on the language, did you already sort this out?

    Best regards,
    Mike

    #1421003

    Yes I did. Via css-trickery.

    Here is how: Every Single Page gets its own class in the body-tag, so you can adress img-replacement of the img tag.
    <body class”page-id-456″>
    <div class=”logo”>

    </div>
    <//body>

    CSS img-replacment:
    .page-id-456 .logo img {content: /uploads/other_pic.jpg;}

    But, then you have to use hard coded URL and if somerthings changing you have ti fix this. And if you have more then one site in others languages you have to figure out alle the different classes. So the solution above only makes sense when you have single-pages!!!

    So, is there a solution in Enfold itself?

    #1421004
    <body class”page-id-456″>
    <div class=”logo”>
       <img src="pic.jpg"
    </div>
    <//body>
    #1421018

    Hi,
    Glad to hear that you have this sorted out, if you are using the WPML plugin then the theme setting panel is different for each language so you can just upload a different image. Then is not a built-in multi-language option because typically people use a plugin like WPML. So to do this without a plugin your method is correct.
    As you have this sorted out, unless there is anything else we can assist with on this issue, shall we close this then?

    Best regards,
    Mike

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.