Before you ask please READ THIS

Shield display issue with Weglot translate plugin

edited September 14 in Rife Posts: 4
I use the Weglot plugin for the translation of my site.
When I switch the language there is display bug with logo shield as you can see in the attached images.
Could you please tell me how to fix this?
Thanks for your help
1721 x 1013 - 206K
1725 x 1007 - 289K
Post edited by wido on


  • AirAir
    Posts: 10,488
    Hey :-)

    From your screenshots, it looks like some styling, or not closed HTML tag is causing this.

    Could you remove the "coming soon" mode and send me a link to page where I could see the issue?

    With kind regards.
  • edited September 16 Posts: 4
    I deactivated "Under construction" page.
    Now you can login to the site
    Post edited by Air on
  • AirAir
    Posts: 10,488
    Hey :-)

    I was debugging this for a few hours, and I have noticed that the shield SVG served for the English language is different than the default SVG for the shield.

    Have you made any modifications to the theme code?

    I am really not sure where this modified SVG code comes from.

    With kind regards.
  • edited September 17 Posts: 4
    Ok. Sorry but I didn't modified the theme code..
    Can you tell me how to solve this problem ?
    Post edited by wido on
  • AirAir
    Posts: 10,488
    wido said: Can you tell me how to solve this problem ?
    Haha, If I only knew what is acting on SVG I would do it right away :-)

    I will log in and check once more what could be doing it.

    .... OK it is fixed :-)

    It seems that shield SVG code had some new lines in its path, and somehow Weglot removed those new lines and this created a messed path in SVG because 36 180 was changed to 36180

    I have edited it on your website but I will also remove new lines in the next update of the theme.

    Thanks for allowing me to debug.

    With kind regards.
  • Posts: 4
    Wow great !! Thanks for spending time on this ;)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion