Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Different images for each language

    General Discussion
    3
    6
    294
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      antonioprado last edited by antonioprado

      Hi @mariusjopen ! I just start to use the multilanguage plugin and it seems that you can't change images for each language; for example, I have text on some images and I would like to change that image for another that belongs to their respective language, but when I made the change, it affects all other languages. I just saw in the plugin's page that this option is not avaliable, but I'm asking if using some code it would be possible to do... the main problem I see is that all 3 languages have the same page ID, so I can't use classes to display different images.

      Thank you in advance!!!

      1 Reply Last reply Reply Quote 0
      • mariusjopen
        mariusjopen Global Moderator last edited by

        Dear @antonioprado
        which plugin do you use?

        Best!

        Marius

        www.mariusjopen.world

        1 Reply Last reply Reply Quote 0
        • A
          antonioprado last edited by

          Hello @mariusjopen ! Thank you for your answer! I'm using the qTranslateX plugin! I just found a way to change the images depending on the language, but it only works for simple images, not carousel for example; This is the way I find if anyone is looking for a solution: in the text box, you go to "source code", and there you put this code:

          <p><img id="logo-image" class="aligncenter" src="yourimagelink" /></p>

          You do this for any language you have. This is the only way to change the image depending on the language; as I say before, it does not work on carousel. If you have any suggestion for make this work it would be very nice!

          Thank you again for your answer! Best!!

          N 1 Reply Last reply Reply Quote 0
          • N
            neunzehnachtneun @antonioprado last edited by

            Hi @antonioprado
            I also have a website in multiple languages using laytheme. But I didn't use the qtranslatex plugin but the polylang addon, which works with different pages for each language. So with this plugin it is definitely possible to use different images for each language.
            But nevertheless as this plugin is not yet recommended, because there are not that much experiences until now, be aware and backup your database before installing and activating. ;-)

            Kind,
            Sebastian

            1 Reply Last reply Reply Quote 0
            • A
              antonioprado last edited by

              Hello @neunzehnachtneun ! Thank very much for your answer and advice! I'll definitely try this plugin you recommend. Again, thank you!! Best!!!

              1 Reply Last reply Reply Quote 0
              • mariusjopen
                mariusjopen Global Moderator last edited by

                Dear @antonioprado
                cool. Let us know how good it works.

                Best!

                Marius

                www.mariusjopen.world

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Before you post

                Use the Search Feature. Maybe there is already a solution to your issue.

                1. Update Lay Theme and all Lay Theme Addons
                2. Disable all Plugins
                3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
                4. Now see if your problem solved itself
                5. Go here, see if your problem is listed here:
                Troubleshooting

                When you post:
                1. Post a link to where the problem is
                2. If the problem is difficult to explain, post screenshots / link to a video to explain it

                Thanks!

                Online Users

                7
                M
                M

                Recent Topics

                • M

                  komische boxen auf der Website

                • S

                  Theme crashed - because of Polylang?

                • J

                  Split Screen just on front page / subpages without the split?

                • Y

                  image quality dropped

                laytheme.com