Back to Material Journal Support

lrs.ngrd34574
lrs.ngrd34574

Hi, Thanks for great plugin. I have one question. I can add logo in .png format but .svg gives me some error: "sorry, your browser does not support inline SVG" I just paste in this example from w3schools: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_svg_circle Can you tell me why this isnt working? I have also tried with this code but is also not working: img src="https://data1.no/storage/app/media/logo.svg" alt="Kiwi standing on oval"> I want to use this logo: https://data1.no/storage/app/media/logo.svg

Last updated

Darkrogua
Darkrogua

lrs.ngrd34574 said:

Hi, Thanks for great plugin. I have one question. I can add logo in .png format but .svg gives me some error: "sorry, your browser does not support inline SVG" I just paste in this example from w3schools: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_svg_circle Can you tell me why this isnt working? I have also tried with this code but is also not working: img src="https://data1.no/storage/app/media/logo.svg" alt="Kiwi standing on oval"> I want to use this logo: https://data1.no/storage/app/media/logo.svg

YES! You Right!

I found a bug in the code, I'll fix it now by releasing an add-on, in order to fix it yourself go CMS - Partials - Header/Logo - edit line 2 for the current {% if this.theme.svg_logo|length > 15 %}

lrs.ngrd34574
lrs.ngrd34574

This works! Thank you.

Darkrogua
Darkrogua
Darkrogua

Fixed in the update, please update the theme and thanks for the help!

lrs.ngrd34574
lrs.ngrd34574

Thnx, I got it, look very good now. One more tip for mobile. If you turn of "Automatically add categories to menu" in mobile navbar there is a lot of empty space. At least on my mobile (samsung J3). Maybe if possible take away space and make social icons a little bit bigger. https://data1.no/storage/app/media/Screenshot%202019-01-22%20at%2017.30.37.png

Darkrogua
Darkrogua

lrs.ngrd34574 said:

Thnx, I got it, look very good now. One more tip for mobile. If you turn of "Automatically add categories to menu" in mobile navbar there is a lot of empty space. At least on my mobile (samsung J3). Maybe if possible take away space and make social icons a little bit bigger. https://data1.no/storage/app/media/Screenshot%202019-01-22%20at%2017.30.37.png

What is the width of your Samsung?

lrs.ngrd34574
lrs.ngrd34574

physical width 71.05mm The Samsung Galaxy J3 (2016) features a 5-inch Super AMOLED screen carrying a 720 x 1280 (HD) resolution.

1-8 of 8