Reply To: Logo Image – Polylang translation

#22955
Daniel Tara
Keymaster

The following hack should be able to allow you to add a custom logo for the English version without modifying the theme files:

First create a file with the english logo named logo-english.png and upload it to your server. Next, go to Appearance → Theme Options → Design and add the following custom CSS:

html[lang="en-GB"] .site-logo {
    opacity: 0;
}

html[lang="en-GB"] .navbar-brand {
    background-image: url(http://kvae.web2v.ukf.sk/wp-content/uploads/2017/07/logo-english.png);
    background-position: 15px 16px;
    background-repeat: no-repeat;
    background-size: calc(100% - 30px) auto;
}

You may need to replace the 2017/07 part with the appropriate date.