Hi, 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
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.
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.
Comments
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.
I deactivated "Under construction" page.
Now you can login to the site https://firminsanou.com/
Thanks
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.
Ok. Sorry but I didn't modified the theme code..
Can you tell me how to solve this problem ?
Thx
Regards,
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 to36180
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.
regards,