Different Logo for different language versions

Hi, our website is bilingual, french and german:

No problem for different menus for each site, also no problem to add two action call buttons (via a special java script) for the main slider.

BUT : Is it also possible to add a second version of our logo when the user navigates in the respective language ? Currently I can only add one version for the whole website, we chose the French one.


First thanks for using our theme!

We can do that with JS too.

For it please follow the steps below:

  1. Install and activate the TC Custom JavaScript plugin
  2. Go To Appearance > Custom JavaScript
  3. Paste the following code into the provided box

    var language = document.querySelector( 'html' );

    if( language.getAttribute( 'lang' ) === 'de-DE' ) {
        var logo = document.querySelector( '.site-logo' );

        logo.setAttribute( 'src', 'https://yourdeDElogoURLgoesHERE' );

Change https://yourdeDElogoURLgoesHERE with your de-DE logo URL. You can upload a image through the media gallery of your WordPress Admin Dashboard and get the link from there.

We hope this helps!

Please try that and let us know if you need further assistance.

Kind Regards,


aThemes Support