Modern Sliders - Logo Carousel Slider

Hi,

I have another query about the new Modern Sliders. In this case, Logo Carousel Slider. You have this example set-up using SVGs. Most of the logos I have and need to use are not available as SVG files, just JPGs or PNGs. Is it possible to convert this slider to use JPGs or PNGs? If so, how?!

One other question, I have created a slider within a Global Block, which can be seen perfectly within the Global Block builder, but when the Global Block is used within a Page Element, the Global Block is not visible either within the Page Builder nor on the public side. Are Modern Sliders compatible with Global Blocks, or do they need to be created fresh each time?

Thanks,
Christopher

1 Like

Hello Christopher,

Thanks for writing in!

#1.)

The Logo Carousel Slider is using a JSON Looper Provider.
Screen Shot 2021-10-30 at 5.55.10 AM

In the JSON, you have this:

  {
    "company"     : "Themeco",
    "svg"         : "<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 4320 504\" xml:space=\"preserve\"><path d=\"M198 0H0v108h198v396h108V108h198V0H306zM1008 198H720V0H612v504h108V306h288v198h108V0h-108zM1224 0h504v108h-504zM1224 198h504v108h-504zM1224 396h504v108h-504zM2214 0h-378v504h108V108h162v396h108V108h162v396h108V0h-108zM2592 0h504v108h-504zM2592 198h504v108h-504zM2592 396h288v108h-288zM2988 396h108v108h-108zM3204 0v504h504V396h-396V108h396V0h-396zM4212 0h-396v504h504V0h-108zm0 396h-288V108h288v288z\"\/><\/svg>",
    "height"      : "0.5em",
    "positionTop" : "0.25em"
  }

If you only have png or jpeg images, you can edit the JSON code and replace svg to image. Make sure to supply the direct image URL as well. And then, you will have to edit the slide by removing the Raw Content element.

Screen Shot 2021-10-30 at 5.58.28 AM

You can replace it with the Image element and then supply the image URL with the dynamic content {{dc:looper:field key="image"}}

#2.)

You can use the Slider inside a global block. Just make sure that when you insert the global block, you have defined the container to 100% if you want to stretch the carousel as fullwidth. The slider may not properly display in the builder though. when viewing the live page, you should be able to fully see that it just perfectly works.

Screen Shot 2021-10-30 at 6.05.15 AM

Screen Shot 2021-10-30 at 6.05.21 AM

Hope this makes sense.

1 Like

Thank you Ruenel, it does help.

If I use SVGs, how do I do this properly? I have tried opening an SVG file with Notepad and then copying and pasting the code into the "<svg>" line of the Looper. However, it is clearly wrong as it breaks the slider.

Thanks,
Christopher

Hello Christopher,

You must be very careful with the quotes in your SVG code. If it is using double quotes, your SVG declaration should use single quotes like this:

{
    'company'     : 'Themeco',
    'svg'         : '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4320 504" xml:space="preserve"><path d="M198 0H0v108h198v396h108V108h198V0H306zM1008 198H720V0H612v504h108V306h288v198h108V0h-108zM1224 0h504v108h-504zM1224 198h504v108h-504zM1224 396h504v108h-504zM2214 0h-378v504h108V108h162v396h108V108h162v396h108V0h-108zM2592 0h504v108h-504zM2592 198h504v108h-504zM2592 396h288v108h-288zM2988 396h108v108h-108zM3204 0v504h504V396h-396V108h396V0h-396zM4212 0h-396v504h504V0h-108zm0 396h-288V108h288v288z"/></svg>',
    'height'      : '0.5em',
    'positionTop' : '0.25em'
  }

Best Regards.

Hello Ruenel,

Thank you again for your help. However, I cannot seem to get an SVG to work. I have tried using single quotes as you suggested, but the slider remains blank every time I replace an existing SVG line of code from the Logo carousel Slider template.

This is the contents of the SVG file taken from Notepad. Does it look to be the right code to be used here?

<svg
  xmlns:svg="http://www.w3.org/2000/svg"
  xmlns="http://www.w3.org/2000/svg"
  version="1.0"
  width="921.25983"
  height="141.73228"
  id="svg11288">
 <defs
    id="defs11290" />
 <g
    id="layer1">
 <g
   transform="matrix(3.543307e-5,0,0,3.543307e-5,-2.328789e-4,1.119507e-4)"
   style="fill-rule:evenodd"
   id="Ebene_x0020_1">

 <path
  d="M 2085110,1065220 C 2022750,1065220 1970720,1058170 1911790,1051260 L 1911790,2074560 C 1911790,2098910 1908310,2105820 1894350,2116200 L 1311560,2487450 C 1398320,2529090 1502380,2556920 1610060,2556920 C 1977630,2556920 2393800,2355570 2588240,1852640 C 2598580,1824810 2622780,1817900 2622780,1866450 L 2622780,1901190 C 2622780,2452670 2202980,2948690 1582230,2948690 C 905780,2948690 499990,2438710 499990,1908090 C 499990,1509220 718240,1138020 1214410,981940 C 1235330,974840 1238810,985220 1224800,995750 C 1006350,1165650 888340,1443230 888340,1720760 C 888340,2015630 1006350,2307020 1269920,2463250 L 1415620,2352090 C 1464360,2313930 1474550,2279340 1474550,2223690 L 1474550,961020 C 1315040,902090 1172970,867350 1040940,867350 C 860660,867350 697520,947010 538010,1141450 C 520720,1162220 510180,1162220 510180,1141450 C 531100,749480 881380,527410 1228280,527410 C 1627300,527410 1994920,721850 2397420,721850 C 2539490,721850 2685340,690400 2806690,624560 C 2823980,617650 2827410,631460 2820500,645280 C 2695720,957590 2390320,1065220 2085110,1065220 L 2085110,1065220 z M 3972400,2917580 C 3958390,2931400 3958390,2927970 3948000,2921060 L 3670480,2674790 C 3642650,2650390 3628830,2629670 3628830,2584550 L 3628830,1634000 C 3628830,1623660 3628830,1613130 3614970,1602740 L 3521300,1519410 C 3510770,1512700 3496950,1509220 3483140,1516130 L 3306330,1599260 L 3306330,2494500 C 3306330,2508320 3302710,2522180 3316670,2532520 L 3396520,2601840 C 3417300,2619140 3451830,2640050 3483140,2629670 L 3510770,2619140 C 3545500,2605270 3552610,2626040 3531690,2643480 L 3212660,2917580 C 3198650,2931400 3195180,2927970 3184840,2921060 L 2903780,2671310 C 2869250,2643480 2869250,2636580 2869250,2591460 L 2869250,1051260 C 2869250,1033970 2869250,1030340 2851800,1016530 L 2817070,985220 C 2782480,954110 2768670,961020 2723550,981940 L 2654080,1013050 C 2643700,1016530 2633310,1002660 2650600,985220 L 3018220,676540 C 3032230,662720 3032230,666200 3042570,673110 L 3264640,877880 C 3292470,905560 3306330,922860 3306330,967930 L 3306330,1547230 L 3767570,1255890 C 3781580,1248930 3795400,1248930 3805790,1259320 L 4031340,1467580 C 4062440,1495260 4069350,1516130 4069350,1550710 L 4069350,2501270 C 4069350,2518710 4069350,2522180 4086790,2536000 L 4173550,2608750 C 4208140,2640050 4221960,2633100 4267070,2612370 L 4336540,2581120 C 4346880,2577640 4357460,2591460 4339970,2608750 L 3972400,2917580 z M 5450030,1769360 L 4835990,2154420 L 4835990,2449240 C 4835990,2476870 4839470,2487450 4863820,2497790 L 5061540,2601840 C 5096080,2619140 5155210,2636580 5189950,2615660 L 5373810,2508320 C 5404910,2490880 5429310,2501270 5411870,2515280 L 4908940,2921060 C 4898410,2931400 4902030,2927970 4888170,2921060 L 4440550,2685120 C 4405810,2667880 4395480,2660780 4395480,2612370 L 4395480,1516130 C 4395480,1498690 4402530,1491780 4423110,1484870 L 5155210,1248930 C 5165600,1245510 5175940,1242030 5182840,1255890 L 5456940,1741530 C 5463850,1752060 5463850,1762450 5450030,1769360 z M 4843100,1432840 L 4835990,1436130 L 4835990,2109440 L 5078840,1908090 C 5092800,1897760 5092800,1890650 5085890,1880460 L 4843100,1432840 z M 7957580,2483970 L 7458080,2914150 C 7444120,2924490 7433730,2931400 7419920,2924490 C 7121420,2775360 6864810,2692030 6604680,2692030 C 6389510,2692030 6177980,2764830 5942090,2921060 C 5921170,2934880 5907360,2931400 5921170,2907250 C 6046140,2705900 6212710,2494500 6420820,2397210 C 6424250,2383400 6427870,2338280 6427870,2275720 L 6427870,1255890 C 6427870,1242030 6434830,1235120 6448650,1228210 L 6844040,988850 C 6757280,1006140 6660180,1020150 6576850,1020150 C 6216190,1020150 6032280,839720 5966290,555240 C 5962810,541230 5969720,537800 5980110,541230 C 6164160,631460 6316760,662720 6465940,662720 C 6715640,662720 7072870,527410 7291520,527410 C 7732030,527410 7975020,711320 7975020,1311540 L 7975020,2445760 C 7975020,2463250 7967920,2473590 7957580,2483970 z M 7537790,1311540 C 7537790,992320 7437210,905560 7281130,905560 C 7166540,905560 7020850,950680 6864810,985220 L 6864810,2025960 C 6864810,2043450 6857910,2057270 6847520,2064370 L 6434830,2393590 C 6542120,2348660 6660180,2327890 6778050,2327890 C 7031230,2327890 7298570,2421410 7513590,2522180 C 7530880,2532520 7537790,2522180 7537790,2504690 L 7537790,1311540 z M 9217310,2917580 C 9203500,2931400 9200020,2927970 9189630,2921060 L 8873890,2643480 L 8499220,2921060 C 8485400,2931400 8481920,2927970 8468110,2917580 L 8228740,2702420 C 8190530,2671310 8187100,2664210 8187100,2622560 L 8187100,1609790 C 8187100,1592350 8200920,1588930 8207820,1585450 L 9012680,1252410 C 9026500,1245510 9040310,1245510 9054320,1259320 L 9269340,1474480 C 9300450,1505590 9311130,1523080 9311130,1543810 L 9311130,2522180 L 9373540,2577640 C 9449770,2643480 9460100,2640050 9494840,2622560 L 9543440,2598360 C 9574690,2581120 9598890,2594930 9571070,2619140 L 9217310,2917580 z M 8873890,1627090 C 8873890,1606170 8870270,1595830 8853170,1578540 L 8728200,1453760 C 8721290,1446660 8721290,1450280 8710760,1453760 L 8623990,1491780 L 8623990,2494500 C 8623990,2529090 8631100,2546390 8655450,2567260 L 8700570,2608750 C 8731670,2636580 8769840,2650390 8814960,2629670 L 8873890,2601840 L 8873890,1627090 L 8873890,1627090 z M 10025600,2917580 C 10011580,2931400 10008160,2927970 9997770,2921060 L 9716960,2671310 C 9682180,2643480 9682180,2636580 9682180,2591460 L 9682180,1634000 C 9682180,1616750 9682180,1613130 9664930,1599260 L 9630200,1568150 C 9595460,1536900 9581600,1543810 9536530,1564530 L 9467010,1595830 C 9456680,1599260 9446290,1585450 9463580,1568150 L 9831350,1259320 C 9845360,1245510 9845360,1248930 9855550,1255890 L 10077620,1460470 C 10105450,1488300 10119260,1505590 10119260,1550710 L 10119260,2494500 C 10119260,2508320 10115840,2522180 10129650,2532520 L 10209500,2601840 C 10230420,2619140 10264960,2640050 10296070,2629670 L 10323900,2619140 C 10358630,2605270 10365540,2626040 10344810,2643480 L 10025600,2917580 z M 9848640,1172760 C 9838450,1183090 9834780,1179660 9824440,1172760 L 9560680,940300 C 9553770,933190 9553770,926290 9564160,915900 L 9824440,686920 C 9834780,680010 9838450,680010 9848640,686920 L 10112360,919380 C 10122740,926290 10122740,933190 10112360,940300 L 9848640,1172760 z M 10806100,2917580 C 10792240,2931400 10788810,2927970 10778420,2921060 L 10497220,2671310 C 10462680,2643480 10462680,2636580 10462680,2591460 L 10462680,1051260 C 10462680,1033970 10462680,1030340 10445390,1016530 L 10410660,985220 C 10375920,954110 10362110,961020 10316990,981940 L 10247670,1013050 C 10237130,1016530 10226750,1002660 10244240,985220 L 10611810,676540 C 10625670,662720 10625670,666200 10636210,673110 L 10858080,877880 C 10885910,905560 10899770,922860 10899770,967930 L 10899770,2494500 C 10899770,2508320 10896290,2522180 10910300,2532520 L 10989960,2601840 C 11010690,2619140 11045470,2640050 11076580,2629670 L 11104550,2619140 C 11139140,2605270 11146040,2626040 11125270,2643480 L 10806100,2917580 z M 12384510,3156950 L 12002880,3465630 C 11992540,3475970 11985440,3472690 11978730,3469060 C 11777380,3333750 11618010,3271390 11444490,3271390 C 11323000,3271390 11201700,3295540 11045470,3337230 C 11031600,3340860 11028170,3330320 11035080,3319940 C 11198070,3073660 11399370,2997440 11586760,2997440 C 11864140,2997440 12124370,3167330 12228430,3236610 L 12238810,3229700 C 12266440,3167330 12277030,3108200 12277030,3052750 C 12277030,2875940 12131330,2733720 11950900,2643480 L 11579650,2917580 C 11562360,2927970 11558930,2927970 11548550,2921060 L 11298790,2695510 C 11264060,2664210 11264060,2664210 11264060,2615660 L 11264060,1640900 C 11264060,1623660 11264060,1620180 11246770,1606170 L 11198070,1564530 C 11163480,1533420 11149670,1540330 11104550,1561100 L 11035080,1592350 C 11024700,1595830 11014360,1582020 11031600,1564530 L 11399370,1255890 C 11413240,1242030 11413240,1245510 11423570,1252410 L 11659510,1467580 C 11687140,1495260 11701150,1512700 11701150,1557820 L 11701150,2504690 C 11701150,2522180 11704630,2539430 11714960,2549810 L 11798300,2626040 C 11822450,2650390 11867570,2640050 11895390,2626040 L 11950900,2601840 L 11950900,1637470 C 11950900,1620180 11950900,1620180 11933610,1606170 L 11884860,1564530 C 11850270,1533420 11839740,1536900 11791190,1550710 L 11763510,1557820 C 11753180,1561100 11742790,1547230 11760080,1529990 L 12086210,1255890 C 12100030,1242030 12100030,1245510 12110410,1252410 L 12346300,1467580 C 12374120,1495260 12387940,1512700 12387940,1557820 L 12387940,2470160 C 12533630,2577640 12596200,2685120 12596200,2792660 C 12596200,2914150 12537110,3032020 12384510,3156950 z M 14757240,1065220 C 14694830,1065220 14642800,1058170 14583860,1051260 L 14583860,2074560 C 14583860,2098910 14580240,2105820 14566420,2116200 L 13983830,2487450 C 14070400,2529090 14174450,2556920 14282130,2556920 C 14649710,2556920 15065880,2355570 15260120,1852640 C 15270700,1824810 15295050,1817900 15295050,1866450 L 15295050,1901190 C 15295050,2452670 14875260,2948690 14254310,2948690 C 13577860,2948690 13171880,2438710 13171880,1908090 C 13171880,1509220 13390520,1138020 13886540,981940 C 13907260,974840 13910890,985220 13896880,995750 C 13678280,1165650 13560410,1443230 13560410,1720760 C 13560410,2015630 13678280,2307020 13942000,2463250 L 14087690,2359000 C 14139720,2324460 14146820,2286250 14146820,2230790 L 14146820,961020 C 13987120,902090 13844900,867350 13713170,867350 C 13532740,867350 13369790,947010 13210280,1141450 C 13192790,1162220 13182260,1162220 13182260,1141450 C 13203180,749480 13553510,527410 13900500,527410 C 14299430,527410 14667000,721850 15069350,721850 C 15211770,721850 15357270,690400 15478760,624560 C 15496200,617650 15499480,631460 15492770,645280 C 15367800,957590 15062450,1065220 14757240,1065220 z M 16512450,1769360 L 15898560,2154420 L 15898560,2449240 C 15898560,2476870 15902040,2487450 15926240,2497790 L 16123910,2601840 C 16158640,2619140 16217780,2636580 16252310,2615660 L 16436220,2508320 C 16467530,2490880 16491680,2501270 16474430,2515280 L 15971310,2921060 C 15960970,2931400 15964400,2927970 15950580,2921060 L 15503160,2685120 C 15468380,2667880 15458040,2660780 15458040,2612370 L 15458040,1516130 C 15458040,1498690 15464750,1491780 15485670,1484870 L 16217780,1248930 C 16228160,1245510 16238500,1242030 16245600,1255890 L 16519500,1741530 C 16526610,1752060 16526610,1762450 16512450,1769360 z M 15905460,1432840 L 15898560,1436130 L 15898560,2109440 L 16141400,1908090 C 16155220,1897760 16155220,1890650 16148310,1880460 L 15905460,1432840 z M 16998230,2917580 C 16984270,2931400 16980990,2927970 16970600,2921060 L 16689400,2671310 C 16654860,2643480 16654860,2636580 16654860,2591460 L 16654860,1051260 C 16654860,1033970 16654860,1030340 16637370,1016530 L 16602840,985220 C 16568100,954110 16554090,961020 16509170,981940 L 16439700,1013050 C 16429310,1016530 16418780,1002660 16436220,985220 L 16803840,676540 C 16817660,662720 16817660,666200 16828190,673110 L 17050260,877880 C 17078090,905560 17091900,922860 17091900,967930 L 17091900,2494500 C 17091900,2508320 17088280,2522180 17102140,2532520 L 17182140,2601840 C 17202860,2619140 17237600,2640050 17268710,2629670 L 17296530,2619140 C 17331270,2605270 17338030,2626040 17317310,2643480 L 16998230,2917580 z M 18444810,1769360 L 17830920,2154420 L 17830920,2449240 C 17830920,2476870 17834200,2487450 17858590,2497790 L 18056270,2601840 C 18090860,2619140 18149940,2636580 18184520,2615660 L 18368430,2508320 C 18399690,2490880 18423890,2501270 18406600,2515280 L 17903520,2921060 C 17893330,2931400 17896760,2927970 17882800,2921060 L 17435320,2685120 C 17400590,2667880 17390060,2660780 17390060,2612370 L 17390060,1516130 C 17390060,1498690 17397110,1491780 17417880,1484870 L 18149940,1248930 C 18160320,1245510 18170710,1242030 18177620,1255890 L 18451720,1741530 C 18458620,1752060 18458620,1762450 18444810,1769360 z M 17837480,1432840 L 17830920,1436130 L 17830920,2109440 L 18073760,1908090 C 18087380,1897760 18087380,1890650 18080470,1880460 L 17837480,1432840 z M 19707470,3156950 L 19325840,3465630 C 19315510,3475970 19308600,3472690 19301690,3469060 C 19100340,3333750 18940830,3271390 18767460,3271390 C 18645960,3271390 18524470,3295540 18368430,3337230 C 18354570,3340860 18351140,3330320 18358050,3319940 C 18521040,3073660 18722340,2997440 18909720,2997440 C 19187250,2997440 19447190,3167330 19551390,3236610 L 19561780,3229700 C 19589410,3167330 19599990,3108200 19599990,3052750 C 19599990,2875940 19454290,2733720 19273860,2643480 L 18899140,2921060 C 18885330,2931400 18874940,2927970 18864600,2917580 L 18628670,2702420 C 18593930,2671310 18587030,2657490 18587030,2622560 L 18587030,1609790 C 18587030,1592350 18600840,1588930 18607800,1585450 L 19405700,1255890 C 19426620,1245510 19440280,1245510 19447190,1252410 L 19669460,1474480 C 19697090,1502160 19710900,1523080 19710900,1547230 L 19710900,2470160 C 19856600,2577640 19919160,2685120 19919160,2792660 C 19919160,2914150 19860080,3032020 19707470,3156950 z M 19273860,1620180 C 19273860,1606170 19270390,1595830 19256570,1582020 L 19128170,1453760 C 19121260,1446660 19117780,1450280 19107250,1453760 L 19023920,1491780 L 19023920,2487450 C 19023920,2542910 19038130,2549810 19093430,2601840 C 19124690,2629670 19141790,2640050 19173240,2640050 C 19201070,2640050 19246040,2619140 19273860,2601840 L 19273860,1620180 z M 20838260,1696410 C 20820970,1710420 20803670,1717330 20786430,1717330 C 20768940,1717330 20751500,1710420 20734400,1696410 L 20522670,1516130 L 20501940,1533420 L 20501940,2497790 C 20501940,2518710 20501940,2522180 20515760,2532520 L 20571260,2581120 C 20630200,2629670 20644020,2636580 20706580,2612370 L 20748220,2594930 C 20775900,2584550 20782800,2598360 20765510,2615660 L 20408080,2917580 C 20394460,2931400 20390840,2927970 20380450,2921060 L 20106350,2674790 C 20075240,2646960 20064710,2636580 20064710,2598360 L 20064710,1609790 L 19981570,1523080 C 19974470,1516130 19971190,1516130 19960650,1523080 L 19856600,1582020 C 19825490,1599260 19814960,1575060 19835880,1557820 L 20193110,1255890 C 20206930,1245510 20214030,1245510 20220940,1252410 L 20463730,1491780 L 20703100,1255890 C 20716960,1245510 20727300,1242030 20741110,1255890 L 20925020,1425940 C 20959760,1457040 20980480,1474480 21001400,1474480 C 21015210,1474480 21032700,1467580 21053620,1453760 L 21101970,1422310 C 21133280,1401590 21147090,1432840 21129800,1450280 L 20838260,1696410 z M 22118370,2917580 C 22104550,2931400 22100930,2927970 22090540,2921060 L 21774800,2643480 L 21400270,2921060 C 21386460,2931400 21383030,2927970 21369020,2917580 L 21129800,2702420 C 21091640,2671310 21088160,2664210 21088160,2622560 L 21088160,1609790 C 21088160,1592350 21101970,1588930 21108930,1585450 L 21913930,1252410 C 21927600,1245510 21941420,1245510 21955230,1259320 L 22170390,1474480 C 22201700,1505590 22212040,1523080 22212040,1543810 L 22212040,2522180 L 22274450,2577640 C 22350820,2643480 22361360,2640050 22395940,2622560 L 22444490,2598360 C 22475600,2581120 22500000,2594930 22472170,2619140 L 22118370,2917580 z M 21774800,1627090 C 21774800,1606170 21771520,1595830 21754220,1578540 L 21629300,1453760 C 21622390,1446660 21622390,1450280 21611810,1453760 L 21525250,1491780 L 21525250,2494500 C 21525250,2529090 21532150,2546390 21556350,2567260 L 21601470,2608750 C 21632580,2636580 21670940,2650390 21716060,2629670 L 21774800,2601840 L 21774800,1627090 L 21774800,1627090 z M 23752280,2664210 L 23436690,2907250 C 23401800,2934880 23394850,2927970 23353210,2903770 L 23023800,2702420 L 23023800,3108200 L 23117320,3188250 C 23127850,3194960 23127850,3202070 23117320,3212450 L 22843370,3465630 C 22836460,3469060 22829550,3475970 22815540,3465630 L 22510340,3219360 C 22500000,3212450 22503620,3205500 22510340,3194960 L 22586760,3108200 L 22586760,1616750 L 22510340,1523080 C 22506910,1519410 22503620,1519410 22496520,1523080 L 22392320,1575060 C 22368260,1588930 22350820,1571630 22371550,1554340 L 22725350,1255890 C 22735740,1245510 22749700,1245510 22756610,1252410 L 23013270,1505590 L 23478180,1255890 C 23492190,1248930 23502530,1252410 23505810,1255890 L 23738460,1471060 C 23755710,1488300 23776630,1516130 23776630,1547230 L 23776630,2608750 C 23776630,2633100 23776630,2646960 23752280,2664210 z M 23339390,1637470 C 23339390,1616750 23332480,1599260 23318670,1585450 L 23221520,1491780 C 23214610,1484870 23207710,1484870 23197170,1488300 L 23023800,1554340 L 23023800,2653870 L 23120950,2685120 C 23200600,2709330 23235340,2705900 23270070,2674790 L 23304800,2643480 C 23336110,2615660 23339390,2584550 23339390,2529090 L 23339390,1637470 z M 25123110,2917580 C 25109100,2931400 25109100,2927970 25098770,2921060 L 24821190,2674790 C 24793560,2650390 24779740,2629670 24779740,2584550 L 24779740,1634000 C 24779740,1623660 24779740,1613130 24765730,1602740 L 24672060,1519410 C 24661680,1512700 24647860,1509220 24634050,1516130 L 24456900,1599260 L 24456900,2494500 C 24456900,2508320 24453420,2522180 24467430,2532520 L 24547090,2601840 C 24568010,2619140 24602600,2640050 24634050,2629670 L 24661680,2619140 C 24696410,2605270 24703170,2626040 24682400,2643480 L 24363380,2917580 C 24349560,2931400 24345940,2927970 24335550,2921060 L 24054550,2671310 C 24019960,2643480 24019960,2636580 24019960,2591460 L 24019960,1051260 C 24019960,1033970 24019960,1030340 24002520,1016530 L 23967790,985220 C 23933050,954110 23919240,961020 23874310,981940 L 23804800,1013050 C 23794460,1016530 23783880,1002660 23801370,985220 L 24168940,676540 C 24182950,662720 24182950,666200 24193340,673110 L 24415410,877880 C 24443230,905560 24456900,922860 24456900,967930 L 24456900,1547230 L 24918340,1255890 C 24932350,1248930 24945970,1248930 24956500,1259320 L 25182050,1467580 C 25213160,1495260 25220070,1516130 25220070,1550710 L 25220070,2501270 C 25220070,2518710 25220070,2522180 25237360,2536000 L 25324320,2608750 C 25358850,2640050 25372670,2633100 25417790,2612370 L 25487260,2581120 C 25497790,2577640 25508030,2591460 25490740,2608750 L 25123110,2917580 z "
  style="fill:black;fill-opacity:1"
  id="path11283" />

</g>
 </g>
</svg>

Hi Christopher,

I have checked your SVG and it looks like a valid SVG. But as suggested by my colleague you need to be very careful about quotes.

You can validate the SVG from here: https://www.svgviewer.dev/

Thanks

Hi Tristup,

Thanks for the reply. Using the link in your post above the SVG has been correctly validated. However, trying both versions of the quotes, I can still not make the SVG display - it causes the entire slider to disappear. This is the exact section of code I am using:

[
  {
    'company'     : 'Daily Telegraph',
    'svg'         : '<svg xmlns="http://www.w3.org/2000/svg" version="1.0" width="921.26" height="141.732"><g style="fill-rule:evenodd"><path d="M2085110 1065220c-62360 0-114390-7050-173320-13960v1023300c0 24350-3480 31260-17440 41640l-582790 371250c86760 41640 190820 69470 298500 69470 367570 0 783740-201350 978180-704280 10340-27830 34540-34740 34540 13810v34740c0 551480-419800 1047500-1040550 1047500-676450 0-1082240-509980-1082240-1040600 0-398870 218250-770070 714420-926150 20920-7100 24400 3280 10390 13810-218450 169900-336460 447480-336460 725010 0 294870 118010 586260 381580 742490l145700-111160c48740-38160 58930-72750 58930-128400V961020c-159510-58930-301580-93670-433610-93670-180280 0-343420 79660-502930 274100-17290 20770-27830 20770-27830 0 20920-391970 371200-614040 718100-614040 399020 0 766640 194440 1169140 194440 142070 0 287920-31450 409270-97290 17290-6910 20720 6900 13810 20720-124780 312310-430180 419940-735390 419940zm1887290 1852360c-14010 13820-14010 10390-24400 3480l-277520-246270c-27830-24400-41650-45120-41650-90240v-950550c0-10340 0-20870-13860-31260l-93670-83330c-10530-6710-24350-10190-38160-3280l-176810 83130v895240c0 13820-3620 27680 10340 38020l79850 69320c20780 17300 55310 38210 86620 27830l27630-10530c34730-13870 41840 6900 20920 24340l-319030 274100c-14010 13820-17480 10390-27820 3480l-281060-249750c-34530-27830-34530-34730-34530-79850V1051260c0-17290 0-20920-17450-34730l-34730-31310c-34590-31110-48400-24200-93520-3280l-69470 31110c-10380 3480-20770-10390-3480-27830l367620-308680c14010-13820 14010-10340 24350-3430l222070 204770c27830 27680 41690 44980 41690 90050v579300l461240-291340c14010-6960 27830-6960 38220 3430l225550 208260c31100 27680 38010 48550 38010 83130v950560c0 17440 0 20910 17440 34730l86760 72750c34590 31300 48410 24350 93520 3620l69470-31250c10340-3480 20920 10340 3430 27630l-367570 308830zm1477630-1148220-614040 385060v294820c0 27630 3480 38210 27830 48550l197720 104050c34540 17300 93670 34740 128410 13820l183860-107340c31100-17440 55500-7050 38060 6960l-502930 405780c-10530 10340-6910 6910-20770 0l-447620-235940c-34740-17240-45070-24340-45070-72750V1516130c0-17440 7050-24350 27630-31260l732100-235940c10390-3420 20730-6900 27630 6960l274100 485640c6910 10530 6910 20920-6910 27830zm-606930-336520-7110 3290v673310l242850-201350c13960-10330 13960-17440 7050-27630l-242790-447620zm3114480 1051130-499500 430180c-13960 10340-24350 17250-38160 10340-298500-149130-555110-232460-815240-232460-215170 0-426700 72800-662590 229030-20920 13820-34730 10340-20920-13810 124970-201350 291540-412750 499650-510040 3430-13810 7050-58930 7050-121490V1255890c0-13860 6960-20770 20780-27680l395390-239360c-86760 17290-183860 31300-267190 31300-360660 0-544570-180430-610560-464910-3480-14010 3430-17440 13820-14010 184050 90230 336650 121490 485830 121490 249700 0 606930-135310 825580-135310 440510 0 683500 183910 683500 784130v1134220c0 17490-7100 27830-17440 38210zm-419790-1172430c0-319220-100580-405980-256660-405980-114590 0-260280 45120-416320 79660v1040740c0 17490-6900 31310-17290 38410l-412690 329220c107290-44930 225350-65700 343220-65700 253180 0 520520 93520 735540 194290 17290 10340 24200 0 24200-17490V1311540zm1679520 1606040c-13810 13820-17290 10390-27680 3480l-315740-277580-374670 277580c-13820 10340-17300 6910-31110-3480l-239370-215160c-38210-31110-41640-38210-41640-79860V1609790c0-17440 13820-20860 20720-24340l804860-333040c13820-6900 27630-6900 41640 6910l215020 215160c31110 31110 41790 48600 41790 69330v978370l62410 55460c76230 65840 86560 62410 121300 44920l48600-24200c31250-17240 55450-3430 27630 20780l-353760 298440zm-343420-1290490c0-20920-3620-31260-20720-48550l-124970-124780c-6910-7100-6910-3480-17440 0l-86770 38020v1002720c0 34590 7110 51890 31460 72760l45120 41490c31100 27830 69270 41640 114390 20920l58930-27830v-974750zm1151710 1290490c-14020 13820-17440 10390-27830 3480l-280810-249750c-34780-27830-34780-34730-34780-79850v-957460c0-17250 0-20870-17250-34740l-34730-31110c-34740-31250-48600-24340-93670-3620l-69520 31300c-10330 3430-20720-10380-3430-27680l367770-308830c14010-13810 14010-10390 24200-3430l222070 204580c27830 27830 41640 45120 41640 90240v943790c0 13820-3420 27680 10390 38020l79850 69320c20920 17300 55460 38210 86570 27830l27830-10530c34730-13870 41640 6900 20910 24340l-319210 274100zm-176960-1744820c-10190 10330-13860 6900-24200 0l-263760-232460c-6910-7110-6910-14010 3480-24400l260280-228980c10340-6910 14010-6910 24200 0l263720 232460c10380 6910 10380 13810 0 20920l-263720 232460zm957460 1744820c-13860 13820-17290 10390-27680 3480l-281200-249750c-34540-27830-34540-34730-34540-79850V1051260c0-17290 0-20920-17290-34730l-34730-31310c-34740-31110-48550-24200-93670-3280l-69320 31110c-10540 3480-20920-10390-3430-27830l367570-308680c13860-13820 13860-10340 24400-3430l221870 204770c27830 27680 41690 44980 41690 90050v1526570c0 13820-3480 27680 10530 38020l79660 69320c20730 17300 55510 38210 86620 27830l27970-10530c34590-13870 41490 6900 20720 24340l-319170 274100zm1578410 239370-381630 308680c-10340 10340-17440 7060-24150 3430-201350-135310-360720-197670-534240-197670-121490 0-242790 24150-399020 65840-13870 3630-17300-6910-10390-17290 162990-246280 364290-322500 551680-322500 277380 0 537610 169890 641670 239170l10380-6910c27630-62370 38220-121500 38220-176950 0-176810-145700-319030-326130-409270l-371250 274100c-17290 10390-20720 10390-31100 3480l-249760-225550c-34730-31300-34730-31300-34730-79850v-974760c0-17240 0-20720-17290-34730l-48700-41640c-34590-31110-48400-24200-93520-3430l-69470 31250c-10380 3480-20720-10330-3480-27820l367770-308640c13870-13860 13870-10380 24200-3480l235940 215170c27630 27680 41640 45120 41640 90240v946870c0 17490 3480 34740 13810 45120l83340 76230c24150 24350 69270 14010 97090 0l55510-24200v-964370c0-17290 0-17290-17290-31300l-48750-41640c-34590-31110-45120-27630-93670-13820l-27680 7110c-10330 3280-20720-10590-3430-27830l326130-274100c13820-13860 13820-10380 24200-3480l235890 215170c27820 27680 41640 45120 41640 90240v912340c145690 107480 208260 214960 208260 322500 0 121490-59090 239360-211690 364290zm2372730-2091730c-62410 0-114440-7050-173380-13960v1023300c0 24350-3620 31260-17440 41640l-582590 371250c86570 41640 190620 69470 298300 69470 367580 0 783750-201350 977990-704280 10580-27830 34930-34740 34930 13810v34740c0 551480-419790 1047500-1040740 1047500-676450 0-1082430-509980-1082430-1040600 0-398870 218640-770070 714660-926150 20720-7100 24350 3280 10340 13810-218600 169900-336470 447480-336470 725010 0 294870 117870 586260 381590 742490l145690-104250c52030-34540 59130-72750 59130-128210V961020c-159700-58930-301920-93670-433650-93670-180430 0-343380 79660-502890 274100-17490 20770-28020 20770-28020 0 20920-391970 371250-614040 718240-614040 398930 0 766500 194440 1168850 194440 142420 0 287920-31450 409410-97290 17440-6910 20720 6900 14010 20720-124970 312310-430320 419940-735530 419940zm1755210 704140-613890 385060v294820c0 27630 3480 38210 27680 48550l197670 104050c34730 17300 93870 34740 128400 13820l183910-107340c31310-17440 55460-7050 38210 6960l-503120 405780c-10340 10340-6910 6910-20730 0l-447420-235940c-34780-17240-45120-24340-45120-72750V1516130c0-17440 6710-24350 27630-31260l732110-235940c10380-3420 20720-6900 27820 6960l273900 485640c7110 10530 7110 20920-7050 27830zm-606990-336520-6900 3290v673310l242840-201350c13820-10330 13820-17440 6910-27630l-242850-447620zm1092770 1484740c-13960 13820-17240 10390-27630 3480l-281200-249750c-34540-27830-34540-34730-34540-79850V1051260c0-17290 0-20920-17490-34730l-34530-31310c-34740-31110-48750-24200-93670-3280l-69470 31110c-10390 3480-20920-10390-3480-27830l367620-308680c13820-13820 13820-10340 24350-3430l222070 204770c27830 27680 41640 44980 41640 90050v1526570c0 13820-3620 27680 10240 38020l80000 69320c20720 17300 55460 38210 86570 27830l27820-10530c34740-13870 41500 6900 20780 24340l-319080 274100zm1446580-1148220-613890 385060v294820c0 27630 3280 38210 27670 48550l197680 104050c34590 17300 93670 34740 128250 13820l183910-107340c31260-17440 55460-7050 38170 6960l-503080 405780c-10190 10340-6760 6910-20720 0l-447480-235940c-34730-17240-45260-24340-45260-72750V1516130c0-17440 7050-24350 27820-31260l732060-235940c10380-3420 20770-6900 27680 6960l274100 485640c6900 10530 6900 20920-6910 27830zm-607330-336520-6560 3290v673310l242840-201350c13620-10330 13620-17440 6710-27630l-242990-447620zm1869990 1724110-381630 308680c-10330 10340-17240 7060-24150 3430-201350-135310-360860-197670-534230-197670-121500 0-242990 24150-399030 65840-13860 3630-17290-6910-10380-17290 162990-246280 364290-322500 551670-322500 277530 0 537470 169890 641670 239170l10390-6910c27630-62370 38210-121500 38210-176950 0-176810-145700-319030-326130-409270l-374720 277580c-13810 10340-24200 6910-34540-3480l-235930-215160c-34740-31110-41640-44930-41640-79860V1609790c0-17440 13810-20860 20770-24340l797900-329560c20920-10380 34580-10380 41490-3480l222270 222070c27630 27680 41440 48600 41440 72750v922930c145700 107480 208260 214960 208260 322500 0 121490-59080 239360-211690 364290zm-433610-1536770c0-14010-3470-24350-17290-38160l-128400-128260c-6910-7100-10390-3480-20920 0l-83330 38020v995670c0 55460 14210 62360 69510 114390 31260 27830 48360 38210 79810 38210 27830 0 72800-20910 100620-38210v-981660zm1564400 76230c-17290 14010-34590 20920-51830 20920-17490 0-34930-6910-52030-20920l-211730-180280-20730 17290v964370c0 20920 0 24390 13820 34730l55500 48600c58940 48550 72760 55460 135320 31250l41640-17440c27680-10380 34580 3430 17290 20730l-357430 301920c-13620 13820-17240 10390-27630 3480l-274100-246270c-31110-27830-41640-38210-41640-76430v-988570l-83140-86710c-7100-6950-10380-6950-20920 0l-104050 58940c-31110 17240-41640-6960-20720-24200l357230-301930c13820-10380 20920-10380 27830-3480l242790 239370 239370-235890c13860-10380 24200-13860 38010 0l183910 170050c34740 31100 55460 48540 76380 48540 13810 0 31300-6900 52220-20720l48350-31450c31310-20720 45120 10530 27830 27970l-291540 246130zm1280110 1221170c-13820 13820-17440 10390-27830 3480l-315740-277580-374530 277580c-13810 10340-17240 6910-31250-3480l-239220-215160c-38160-31110-41640-38210-41640-79860V1609790c0-17440 13810-20860 20770-24340l805000-333040c13670-6900 27490-6900 41300 6910l215160 215160c31310 31110 41650 48600 41650 69330v978370l62410 55460c76370 65840 86910 62410 121490 44920l48550-24200c31110-17240 55510-3430 27680 20780l-353800 298440zm-343570-1290490c0-20920-3280-31260-20580-48550l-124920-124780c-6910-7100-6910-3480-17490 0l-86560 38020v1002720c0 34590 6900 51890 31100 72760l45120 41490c31110 27830 69470 41640 114590 20920l58740-27830v-974750zm1977480 1037120-315590 243040c-34890 27630-41840 20720-83480-3480l-329410-201350v405780l93520 80050c10530 6710 10530 13820 0 24200l-273950 253180c-6910 3430-13820 10340-27830 0l-305200-246270c-10340-6910-6720-13860 0-24400l76420-86760V1616750l-76420-93670c-3430-3670-6720-3670-13820 0l-104200 51980c-24060 13870-41500-3430-20770-20720l353800-298450c10390-10380 24350-10380 31260-3480l256660 253180 464910-249700c14010-6960 24350-3480 27630 0l232650 215170c17250 17240 38170 45070 38170 76170v1061520c0 24350 0 38210-24350 55460zm-412890-1026740c0-20720-6910-38210-20720-52020l-97150-93670c-6910-6910-13810-6910-24350-3480l-173370 66040v1099530l97150 31250c79650 24210 114390 20780 149120-10330l34730-31310c31310-27820 34590-58930 34590-114390v-891620zm1783720 1280110c-14010 13820-14010 10390-24340 3480l-277580-246270c-27630-24400-41450-45120-41450-90240v-950550c0-10340 0-20870-14010-31260l-93670-83330c-10380-6710-24200-10190-38010-3280l-177150 83130v895240c0 13820-3480 27680 10530 38020l79660 69320c20920 17300 55510 38210 86960 27830l27630-10530c34730-13870 41490 6900 20720 24340l-319020 274100c-13820 13820-17440 10390-27830 3480l-281000-249750c-34590-27830-34590-34730-34590-79850V1051260c0-17290 0-20920-17440-34730l-34730-31310c-34740-31110-48550-24200-93480-3280l-69510 31110c-10340 3480-20920-10390-3430-27830l367570-308680c14010-13820 14010-10340 24400-3430l222070 204770c27820 27680 41490 44980 41490 90050v579300l461440-291340c14010-6960 27630-6960 38160 3430l225550 208260c31110 27680 38020 48550 38020 83130v950560c0 17440 0 20910 17290 34730l86960 72750c34530 31300 48350 24350 93470 3620l69470-31250c10530-3480 20770 10340 3480 27630l-367630 308830z" style="fill:#000;fill-opacity:1" transform="matrix(.00004 0 0 .00004 0 0)"/></g></svg>',
    'height'      : '0.5em',
    'positionTop' : '0.25em'
  }
]

The appropriate comma is used after the curly bracket if there is any other code after this section. As well as the above SVG I have tried several others, all with the same results.

Are you able to make the above SVG work at your end?

Thanks again,
Christopher

Hi there,

Facing a similar issue here.

Using SVG Viewer - View, save, and optimize SVGs and putting the SVG code that comes with the sliders I actually get this:

Whereas my SVG code works perfectly in SVG Viewer - View, save, and optimize SVGs but causes the slider to disappear completely in Pro.

Cheers.

Hi Christopher,

I have changed the SVG as per the other SVG format added in the Logo Carousel and also added the viewBox attribute it come up as the following one which is now showing the logo,

{
    "company"     : "Daily Telegraph",
    "svg"         : "<svg  xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 600 200\" version=\"1.0\" width=\"921.26\" height=\"141.732\"><g style=\"fill-rule:evenodd\"><path d=\"M2085110 1065220c-62360 0-114390-7050-173320-13960v1023300c0 24350-3480 31260-17440 41640l-582790 371250c86760 41640 190820 69470 298500 69470 367570 0 783740-201350 978180-704280 10340-27830 34540-34740 34540 13810v34740c0 551480-419800 1047500-1040550 1047500-676450 0-1082240-509980-1082240-1040600 0-398870 218250-770070 714420-926150 20920-7100 24400 3280 10390 13810-218450 169900-336460 447480-336460 725010 0 294870 118010 586260 381580 742490l145700-111160c48740-38160 58930-72750 58930-128400V961020c-159510-58930-301580-93670-433610-93670-180280 0-343420 79660-502930 274100-17290 20770-27830 20770-27830 0 20920-391970 371200-614040 718100-614040 399020 0 766640 194440 1169140 194440 142070 0 287920-31450 409270-97290 17290-6910 20720 6900 13810 20720-124780 312310-430180 419940-735390 419940zm1887290 1852360c-14010 13820-14010 10390-24400 3480l-277520-246270c-27830-24400-41650-45120-41650-90240v-950550c0-10340 0-20870-13860-31260l-93670-83330c-10530-6710-24350-10190-38160-3280l-176810 83130v895240c0 13820-3620 27680 10340 38020l79850 69320c20780 17300 55310 38210 86620 27830l27630-10530c34730-13870 41840 6900 20920 24340l-319030 274100c-14010 13820-17480 10390-27820 3480l-281060-249750c-34530-27830-34530-34730-34530-79850V1051260c0-17290 0-20920-17450-34730l-34730-31310c-34590-31110-48400-24200-93520-3280l-69470 31110c-10380 3480-20770-10390-3480-27830l367620-308680c14010-13820 14010-10340 24350-3430l222070 204770c27830 27680 41690 44980 41690 90050v579300l461240-291340c14010-6960 27830-6960 38220 3430l225550 208260c31100 27680 38010 48550 38010 83130v950560c0 17440 0 20910 17440 34730l86760 72750c34590 31300 48410 24350 93520 3620l69470-31250c10340-3480 20920 10340 3430 27630l-367570 308830zm1477630-1148220-614040 385060v294820c0 27630 3480 38210 27830 48550l197720 104050c34540 17300 93670 34740 128410 13820l183860-107340c31100-17440 55500-7050 38060 6960l-502930 405780c-10530 10340-6910 6910-20770 0l-447620-235940c-34740-17240-45070-24340-45070-72750V1516130c0-17440 7050-24350 27630-31260l732100-235940c10390-3420 20730-6900 27630 6960l274100 485640c6910 10530 6910 20920-6910 27830zm-606930-336520-7110 3290v673310l242850-201350c13960-10330 13960-17440 7050-27630l-242790-447620zm3114480 1051130-499500 430180c-13960 10340-24350 17250-38160 10340-298500-149130-555110-232460-815240-232460-215170 0-426700 72800-662590 229030-20920 13820-34730 10340-20920-13810 124970-201350 291540-412750 499650-510040 3430-13810 7050-58930 7050-121490V1255890c0-13860 6960-20770 20780-27680l395390-239360c-86760 17290-183860 31300-267190 31300-360660 0-544570-180430-610560-464910-3480-14010 3430-17440 13820-14010 184050 90230 336650 121490 485830 121490 249700 0 606930-135310 825580-135310 440510 0 683500 183910 683500 784130v1134220c0 17490-7100 27830-17440 38210zm-419790-1172430c0-319220-100580-405980-256660-405980-114590 0-260280 45120-416320 79660v1040740c0 17490-6900 31310-17290 38410l-412690 329220c107290-44930 225350-65700 343220-65700 253180 0 520520 93520 735540 194290 17290 10340 24200 0 24200-17490V1311540zm1679520 1606040c-13810 13820-17290 10390-27680 3480l-315740-277580-374670 277580c-13820 10340-17300 6910-31110-3480l-239370-215160c-38210-31110-41640-38210-41640-79860V1609790c0-17440 13820-20860 20720-24340l804860-333040c13820-6900 27630-6900 41640 6910l215020 215160c31110 31110 41790 48600 41790 69330v978370l62410 55460c76230 65840 86560 62410 121300 44920l48600-24200c31250-17240 55450-3430 27630 20780l-353760 298440zm-343420-1290490c0-20920-3620-31260-20720-48550l-124970-124780c-6910-7100-6910-3480-17440 0l-86770 38020v1002720c0 34590 7110 51890 31460 72760l45120 41490c31100 27830 69270 41640 114390 20920l58930-27830v-974750zm1151710 1290490c-14020 13820-17440 10390-27830 3480l-280810-249750c-34780-27830-34780-34730-34780-79850v-957460c0-17250 0-20870-17250-34740l-34730-31110c-34740-31250-48600-24340-93670-3620l-69520 31300c-10330 3430-20720-10380-3430-27680l367770-308830c14010-13810 14010-10390 24200-3430l222070 204580c27830 27830 41640 45120 41640 90240v943790c0 13820-3420 27680 10390 38020l79850 69320c20920 17300 55460 38210 86570 27830l27830-10530c34730-13870 41640 6900 20910 24340l-319210 274100zm-176960-1744820c-10190 10330-13860 6900-24200 0l-263760-232460c-6910-7110-6910-14010 3480-24400l260280-228980c10340-6910 14010-6910 24200 0l263720 232460c10380 6910 10380 13810 0 20920l-263720 232460zm957460 1744820c-13860 13820-17290 10390-27680 3480l-281200-249750c-34540-27830-34540-34730-34540-79850V1051260c0-17290 0-20920-17290-34730l-34730-31310c-34740-31110-48550-24200-93670-3280l-69320 31110c-10540 3480-20920-10390-3430-27830l367570-308680c13860-13820 13860-10340 24400-3430l221870 204770c27830 27680 41690 44980 41690 90050v1526570c0 13820-3480 27680 10530 38020l79660 69320c20730 17300 55510 38210 86620 27830l27970-10530c34590-13870 41490 6900 20720 24340l-319170 274100zm1578410 239370-381630 308680c-10340 10340-17440 7060-24150 3430-201350-135310-360720-197670-534240-197670-121490 0-242790 24150-399020 65840-13870 3630-17300-6910-10390-17290 162990-246280 364290-322500 551680-322500 277380 0 537610 169890 641670 239170l10380-6910c27630-62370 38220-121500 38220-176950 0-176810-145700-319030-326130-409270l-371250 274100c-17290 10390-20720 10390-31100 3480l-249760-225550c-34730-31300-34730-31300-34730-79850v-974760c0-17240 0-20720-17290-34730l-48700-41640c-34590-31110-48400-24200-93520-3430l-69470 31250c-10380 3480-20720-10330-3480-27820l367770-308640c13870-13860 13870-10380 24200-3480l235940 215170c27630 27680 41640 45120 41640 90240v946870c0 17490 3480 34740 13810 45120l83340 76230c24150 24350 69270 14010 97090 0l55510-24200v-964370c0-17290 0-17290-17290-31300l-48750-41640c-34590-31110-45120-27630-93670-13820l-27680 7110c-10330 3280-20720-10590-3430-27830l326130-274100c13820-13860 13820-10380 24200-3480l235890 215170c27820 27680 41640 45120 41640 90240v912340c145690 107480 208260 214960 208260 322500 0 121490-59090 239360-211690 364290zm2372730-2091730c-62410 0-114440-7050-173380-13960v1023300c0 24350-3620 31260-17440 41640l-582590 371250c86570 41640 190620 69470 298300 69470 367580 0 783750-201350 977990-704280 10580-27830 34930-34740 34930 13810v34740c0 551480-419790 1047500-1040740 1047500-676450 0-1082430-509980-1082430-1040600 0-398870 218640-770070 714660-926150 20720-7100 24350 3280 10340 13810-218600 169900-336470 447480-336470 725010 0 294870 117870 586260 381590 742490l145690-104250c52030-34540 59130-72750 59130-128210V961020c-159700-58930-301920-93670-433650-93670-180430 0-343380 79660-502890 274100-17490 20770-28020 20770-28020 0 20920-391970 371250-614040 718240-614040 398930 0 766500 194440 1168850 194440 142420 0 287920-31450 409410-97290 17440-6910 20720 6900 14010 20720-124970 312310-430320 419940-735530 419940zm1755210 704140-613890 385060v294820c0 27630 3480 38210 27680 48550l197670 104050c34730 17300 93870 34740 128400 13820l183910-107340c31310-17440 55460-7050 38210 6960l-503120 405780c-10340 10340-6910 6910-20730 0l-447420-235940c-34780-17240-45120-24340-45120-72750V1516130c0-17440 6710-24350 27630-31260l732110-235940c10380-3420 20720-6900 27820 6960l273900 485640c7110 10530 7110 20920-7050 27830zm-606990-336520-6900 3290v673310l242840-201350c13820-10330 13820-17440 6910-27630l-242850-447620zm1092770 1484740c-13960 13820-17240 10390-27630 3480l-281200-249750c-34540-27830-34540-34730-34540-79850V1051260c0-17290 0-20920-17490-34730l-34530-31310c-34740-31110-48750-24200-93670-3280l-69470 31110c-10390 3480-20920-10390-3480-27830l367620-308680c13820-13820 13820-10340 24350-3430l222070 204770c27830 27680 41640 44980 41640 90050v1526570c0 13820-3620 27680 10240 38020l80000 69320c20720 17300 55460 38210 86570 27830l27820-10530c34740-13870 41500 6900 20780 24340l-319080 274100zm1446580-1148220-613890 385060v294820c0 27630 3280 38210 27670 48550l197680 104050c34590 17300 93670 34740 128250 13820l183910-107340c31260-17440 55460-7050 38170 6960l-503080 405780c-10190 10340-6760 6910-20720 0l-447480-235940c-34730-17240-45260-24340-45260-72750V1516130c0-17440 7050-24350 27820-31260l732060-235940c10380-3420 20770-6900 27680 6960l274100 485640c6900 10530 6900 20920-6910 27830zm-607330-336520-6560 3290v673310l242840-201350c13620-10330 13620-17440 6710-27630l-242990-447620zm1869990 1724110-381630 308680c-10330 10340-17240 7060-24150 3430-201350-135310-360860-197670-534230-197670-121500 0-242990 24150-399030 65840-13860 3630-17290-6910-10380-17290 162990-246280 364290-322500 551670-322500 277530 0 537470 169890 641670 239170l10390-6910c27630-62370 38210-121500 38210-176950 0-176810-145700-319030-326130-409270l-374720 277580c-13810 10340-24200 6910-34540-3480l-235930-215160c-34740-31110-41640-44930-41640-79860V1609790c0-17440 13810-20860 20770-24340l797900-329560c20920-10380 34580-10380 41490-3480l222270 222070c27630 27680 41440 48600 41440 72750v922930c145700 107480 208260 214960 208260 322500 0 121490-59080 239360-211690 364290zm-433610-1536770c0-14010-3470-24350-17290-38160l-128400-128260c-6910-7100-10390-3480-20920 0l-83330 38020v995670c0 55460 14210 62360 69510 114390 31260 27830 48360 38210 79810 38210 27830 0 72800-20910 100620-38210v-981660zm1564400 76230c-17290 14010-34590 20920-51830 20920-17490 0-34930-6910-52030-20920l-211730-180280-20730 17290v964370c0 20920 0 24390 13820 34730l55500 48600c58940 48550 72760 55460 135320 31250l41640-17440c27680-10380 34580 3430 17290 20730l-357430 301920c-13620 13820-17240 10390-27630 3480l-274100-246270c-31110-27830-41640-38210-41640-76430v-988570l-83140-86710c-7100-6950-10380-6950-20920 0l-104050 58940c-31110 17240-41640-6960-20720-24200l357230-301930c13820-10380 20920-10380 27830-3480l242790 239370 239370-235890c13860-10380 24200-13860 38010 0l183910 170050c34740 31100 55460 48540 76380 48540 13810 0 31300-6900 52220-20720l48350-31450c31310-20720 45120 10530 27830 27970l-291540 246130zm1280110 1221170c-13820 13820-17440 10390-27830 3480l-315740-277580-374530 277580c-13810 10340-17240 6910-31250-3480l-239220-215160c-38160-31110-41640-38210-41640-79860V1609790c0-17440 13810-20860 20770-24340l805000-333040c13670-6900 27490-6900 41300 6910l215160 215160c31310 31110 41650 48600 41650 69330v978370l62410 55460c76370 65840 86910 62410 121490 44920l48550-24200c31110-17240 55510-3430 27680 20780l-353800 298440zm-343570-1290490c0-20920-3280-31260-20580-48550l-124920-124780c-6910-7100-6910-3480-17490 0l-86560 38020v1002720c0 34590 6900 51890 31100 72760l45120 41490c31110 27830 69470 41640 114590 20920l58740-27830v-974750zm1977480 1037120-315590 243040c-34890 27630-41840 20720-83480-3480l-329410-201350v405780l93520 80050c10530 6710 10530 13820 0 24200l-273950 253180c-6910 3430-13820 10340-27830 0l-305200-246270c-10340-6910-6720-13860 0-24400l76420-86760V1616750l-76420-93670c-3430-3670-6720-3670-13820 0l-104200 51980c-24060 13870-41500-3430-20770-20720l353800-298450c10390-10380 24350-10380 31260-3480l256660 253180 464910-249700c14010-6960 24350-3480 27630 0l232650 215170c17250 17240 38170 45070 38170 76170v1061520c0 24350 0 38210-24350 55460zm-412890-1026740c0-20720-6910-38210-20720-52020l-97150-93670c-6910-6910-13810-6910-24350-3480l-173370 66040v1099530l97150 31250c79650 24210 114390 20780 149120-10330l34730-31310c31310-27820 34590-58930 34590-114390v-891620zm1783720 1280110c-14010 13820-14010 10390-24340 3480l-277580-246270c-27630-24400-41450-45120-41450-90240v-950550c0-10340 0-20870-14010-31260l-93670-83330c-10380-6710-24200-10190-38010-3280l-177150 83130v895240c0 13820-3480 27680 10530 38020l79660 69320c20920 17300 55510 38210 86960 27830l27630-10530c34730-13870 41490 6900 20720 24340l-319020 274100c-13820 13820-17440 10390-27830 3480l-281000-249750c-34590-27830-34590-34730-34590-79850V1051260c0-17290 0-20920-17440-34730l-34730-31310c-34740-31110-48550-24200-93480-3280l-69510 31110c-10340 3480-20920-10390-3430-27830l367570-308680c14010-13820 14010-10340 24400-3430l222070 204770c27820 27680 41490 44980 41490 90050v579300l461440-291340c14010-6960 27630-6960 38160 3430l225550 208260c31110 27680 38020 48550 38020 83130v950560c0 17440 0 20910 17290 34730l86960 72750c34530 31300 48350 24350 93470 3620l69470-31250c10530-3480 20770 10340 3480 27630l-367630 308830z\" style=\"fill:#000;fill-opacity:1\" transform=\"matrix(.00004 0 0 .00004 0 0)\"><\/g><\/svg>",
    "height"      : "1em",
    "positionTop" : "0em"
}

Please go through the article to know more about the viewBox attribute: https://www.geeksforgeeks.org/svg-viewbox-attribute/

Hope it helps.
Thanks

Hi Tristup,

Thank you. What you have placed above works for me. I have also managed to get some of the other SVGs working too. For anyone interested, these are the steps I have used:

  • Open the SVG file with Notepad and copy everything including and between the tags.
  • Remove any width and height statements towards the start of the code.
  • Copy and paste the above code into https://www.svgviewer.dev/ and click “Optimize” to get the code into one line.
  • Paste the code from the previous step into the looper.
  • Alter the viewBox settings in the SVG till they are right
  • Alter the “height” and “topPosition” settings until they are right.

There is just one issue I have remaining where there is a larger gap between two SVGs - I will reply back with details when I have added all other SVGs to request further support.

Many thanks to @ruenel and @tristup for all the help,
Christopher

Hi Christopher,

Glad that we are able to help you and thank you for sharing the information.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.