Logo Image – Polylang translation

Viewing 5 posts - 1 through 5 (of 5 total)
  • #22954
    [email protected]
    Participant

    Hi,
    please, I created english version of my slovak website (http://kvae.web2v.ukf.sk/) with the help of Polylang plugin…, instead of the site title text (in original slovak version) I used logo image (with text), so now I need to put there english version of that logo image, I prepared the image, but I dont know how to put it there to be able to switch between slovak and english and at the same time to change the slovak and english logo image…(I tried to solve it by changing “Filters content by language” at the top of the screen and uploading english and slovak versions of logo images, but it does not work), plaese, help me to fix the problem. Thanks!

    #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:

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

    #22956
    [email protected]
    Participant

    Hi, Daniel

    thanks a lot for your help, it works however I forgot that in case of slovak logo I have added this CSS rule before in order to fit it correctly in navbar:

    sorry, I do not have experience in CSS, is it possible to combine it with your previous CSS rule? because now, the english logo is not correctly fitted in navbar as you can see here: http://kvae.web2v.ukf.sk/en/home-2/ (when shrinked by scrolling down)

    Thanks a lot!

    #22957
    Daniel Tara
    Keymaster

    Here’s a new CSS code that should make the logo ft properly and shrink on scroll:

    #22961
    [email protected]
    Participant

    it works, thanks a lot for your solution and work on the theme!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.