Hi,
if you upload gradient animated SVG logo in Atomik top_navigation_bar, only the still image showing without the animation. I tried with 2 different gradient animated SVG’s. What I also tried is:
animated SVG without animated gradients - works
editing the top navigation bar block view.php and place the logo html directly - works
Here is the edited view.php`
<a class="navbar-brand" href="<?=$home->getCollectionLink()?>">
<img src="application/themes/atomik902/images/robot-mod.svg" class="logo align-text-center">
<?php if ($logo && ($includeBrandLogo && $includeBrandText)) { ?>
<img src="<?=$logo->getURL()?>" class="logo align-text-center">
In this way I have two logo, first one gradients animation works, but the second one not.
If I change the first logo location to point exactly to the second logo uploaded location it’s also works.
So I don’t think it’s a file premission issue because the SVG file is appears
Here is the two gradient animated svg source that you can save to whatever.svg and test it:
<svg width="100px" height="auto" viewBox="0 0 53 87" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<linearGradient id="gradient" x1="100%" y1="0%" x2="0%" y2="0%">
<stop offset="6.25%" style="stop-color:#87FFFE;"/>
<stop offset="18.75%" style="stop-color:#88FF89;"/>
<stop offset="31.25%" style="stop-color:#F8F58A;"/>
<stop offset="43.75%" style="stop-color:#EF696A;"/>
<stop offset="56.25%" style="stop-color:#F36ABA;"/>
<stop offset="68.75%" style="stop-color:#EF696A;"/>
<stop offset="81.25%" style="stop-color:#F8F58A;"/>
<stop offset="93.75%" style="stop-color:#88FF89;"/>
<stop offset="100%" style="stop-color:#87FFFE;"/>
</linearGradient>
</defs>
<pattern id="pattern" x="0" y="0" width="400%" height="100%" patternUnits="userSpaceOnUse">
<rect x="-150%" y="0" width="200%" height="100%" fill="url(#gradient)" transform="rotate(-65)">
<animate attributeType="XML"
attributeName="x"
from="-150%" to="50%"
dur="6s"
repeatCount="indefinite"/>
</rect>
<rect x="-350%" y="0" width="200%" height="100%" fill="url(#gradient)" transform="rotate(-65)">
<animate attributeType="XML"
attributeName="x"
from="-350%" to="-150%"
dur="6s"
repeatCount="indefinite"/>
</rect>
</pattern>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="junglebug">
<g id="Fill-1-Clipped">
<mask id="mask-2" fill="white">
<use xlink:href="#path-1"></use>
</mask>
<g id="path-1"></g>
<path d="M47.76201,37.2875647 L28.79811,46.8794704 L28.79811,28.2616913 L47.82321,18.6869108 C47.84481,18.8698798 47.76201,19.0555529 47.76201,19.2430286 L47.76201,37.2875647 Z M26.22231,24.0984688 L7.62291,14.7850728 L26.13591,5.48068984 L44.80461,14.7931847 L26.22231,24.0984688 Z M23.88141,46.8794704 L4.56561,37.2875648 L4.56561,19.227706 C4.56561,19.044737 4.65831,18.8644719 4.67811,18.6860094 L23.88141,28.2616913 L23.88141,46.8794704 Z M23.88141,70.860136 L7.29261,62.5931788 C5.66001,61.7756767 4.56561,60.1316588 4.56561,58.3037707 L4.56561,42.6495499 L23.88141,52.2414556 L23.88141,70.860136 Z M47.31201,10.5578563 L47.28321,10.5578563 L28.16361,1.07681355 C26.89821,0.444984388 25.38171,0.47292548 24.11811,1.10745862 L5.22621,10.6425809 C1.96911,12.2802892 -9e-05,15.5773379 -9e-05,19.227706 L-9e-05,58.3037707 C-9e-05,61.9604482 1.99701,65.2475824 5.26221,66.8825867 L23.88141,76.2221214 L23.88141,86.5269756 L28.79811,86.5269756 L28.79811,76.2221214 L28.79811,70.860136 L28.79811,52.2468637 L28.79811,52.2414556 L47.76201,42.6495499 L47.76201,58.3037707 C47.76201,60.1316588 46.73151,61.7756767 45.09891,62.5931788 L33.36291,68.461709 L33.36291,73.8236943 L47.30391,66.8825867 C50.57001,65.2475824 52.67871,61.9604482 52.67871,58.3037707 L52.67871,19.2430286 C52.67871,15.5800418 50.58621,12.3163423 47.31201,10.5578563 Z" id="Fill-1" fill="url(#pattern)" fill-rule="nonzero"></path>
</g>
</g>
</g>
</svg>
<svg
width="5.47in"
height="6.05in"
viewBox="0 0 547 605"
version="1.1"
id="svg206"
sodipodi:docname="robot.svg"
inkscape:version="1.1.1 (3bf5ae0, 2021-09-20)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="gradient" x1="0%" y1="0%" x2="100%" y2="0">
<!-- <stop offset="0%" style="stop-color:#9efb23;"/>
<stop offset="25%" style="stop-color:#9efb23;"/>
<stop offset="50%" style="stop-color:#ff2aa0;"/>
<stop offset="75%" style="stop-color:#ff2aa0;"/>
<stop offset="100%" style="stop-color:#9efb23;"/>-->
<stop offset="0%" style="stop-color:#ff2aa0;"/>
<stop offset="50%" style="stop-color:#9efb23;"/>
<stop offset="100%" style="stop-color:#ff2aa0;"/>
</linearGradient>
<!-- Stitch 2 gradients together for seamless animation -->
<pattern id="pattern" x="0" y="0" width="100%" height="100%" patternUnits="userSpaceOnUse">
<rect x="0" y="0" width="100%" height="100%" fill="url(#gradient)">
<animate attributeType="XML"
attributeName="x"
from="0" to="100%"
dur="15s"
repeatCount="indefinite"/>
</rect>
<rect x="-100%" y="0" width="100%" height="100%" fill="url(#gradient)">
<animate attributeType="XML"
attributeName="x"
from="-100%" to="0"
dur="15s"
repeatCount="indefinite"/>
</rect>
</pattern>
</defs>
<path
id="Selection #1"
fill="url(#pattern)"
d="M 238.00,199.00 C 238.00,199.00 238.00,225.00 238.00,225.00 238.00,225.00 63.00,225.00 63.00,225.00 60.30,225.00 56.58,224.78 54.21,226.17 47.79,229.96 44.32,248.83 44.04,256.00 44.04,256.00 46.06,277.00 46.06,277.00 45.06,280.18 35.89,291.41 33.29,295.00 33.29,295.00 11.73,324.00 11.73,324.00 8.23,328.72 2.64,335.49 0.85,341.00 -0.43,344.92 -0.06,356.34 0.00,361.00 0.12,369.74 3.07,369.17 4.72,383.00 4.72,383.00 7.17,412.00 7.17,412.00 7.17,412.00 10.83,445.00 10.83,445.00 11.96,456.64 11.08,469.52 19.21,479.00 29.34,490.81 38.39,489.18 43.00,490.69 43.00,490.69 62.00,500.22 62.00,500.22 67.66,502.93 72.83,504.05 73.90,504.56 77.86,506.42 79.07,511.25 80.60,515.00 84.14,523.66 88.97,533.20 100.00,532.16 103.81,531.80 122.35,528.11 124.82,526.27 129.63,522.58 129.68,515.27 124.82,511.56 118.30,506.50 106.60,513.28 102.21,512.10 99.55,511.39 98.57,508.25 97.58,506.00 93.14,495.94 94.92,498.71 99.32,490.00 100.32,488.03 101.03,485.06 102.56,483.58 104.04,482.16 106.08,481.84 108.00,481.40 110.64,480.79 115.23,479.02 117.51,480.70 122.67,484.52 122.37,501.92 135.00,499.77 136.44,499.52 137.61,499.13 138.81,498.26 141.12,496.61 142.70,493.87 142.66,491.00 142.61,487.52 135.36,471.44 133.28,468.04 124.14,453.15 108.51,463.76 100.01,463.57 96.19,463.48 94.74,460.90 91.91,458.78 88.08,455.92 76.85,451.47 75.02,448.61 73.79,446.68 72.14,430.23 71.97,427.00 71.97,427.00 70.17,410.00 70.17,410.00 70.17,410.00 68.72,391.00 68.72,391.00 68.29,387.40 66.44,373.59 67.21,371.00 68.02,368.33 71.85,363.39 73.63,361.00 73.63,361.00 87.83,342.00 87.83,342.00 87.83,342.00 102.63,322.00 102.63,322.00 104.89,318.99 106.86,315.54 111.01,315.43 114.69,315.34 132.06,319.00 134.26,321.51 136.34,323.88 136.83,333.51 137.28,337.00 137.28,337.00 143.05,379.00 143.05,379.00 143.05,379.00 153.58,456.00 153.58,456.00 155.53,470.16 154.88,481.82 168.00,491.21 179.33,499.33 198.34,497.00 212.00,497.00 212.00,497.00 212.00,546.00 212.00,546.00 212.01,554.40 213.18,560.34 216.78,568.00 222.05,579.20 229.51,588.67 240.00,595.45 262.93,610.29 294.50,607.33 315.00,589.70 329.04,577.63 335.97,559.22 336.00,541.00 336.00,541.00 336.00,527.00 336.00,527.00 336.00,527.00 336.00,497.00 336.00,497.00 351.64,497.00 370.55,500.02 382.70,488.38 385.85,485.37 388.92,481.10 390.44,477.00 390.44,477.00 396.13,441.00 396.13,441.00 396.13,441.00 406.16,364.00 406.16,364.00 406.16,364.00 412.00,320.00 412.00,320.00 412.00,320.00 430.00,316.34 430.00,316.34 432.71,316.09 436.37,314.94 438.96,316.34 441.53,317.27 444.00,321.01 445.69,323.28 445.69,323.28 456.63,338.00 456.63,338.00 456.63,338.00 472.35,359.00 472.35,359.00 474.44,361.71 479.54,368.03 480.43,371.00 481.46,374.44 479.54,381.15 479.17,385.00 479.17,385.00 476.28,418.00 476.28,418.00 476.28,418.00 474.27,439.00 474.27,439.00 473.88,441.72 473.52,446.42 472.02,448.66 470.30,451.22 458.86,456.40 455.09,459.09 452.28,461.09 450.67,463.49 446.99,463.57 438.57,463.74 425.12,453.95 415.41,466.04 412.54,469.62 405.18,486.40 405.15,491.00 405.10,497.58 410.75,501.41 416.96,499.49 424.48,497.16 425.79,483.73 429.65,480.69 431.85,478.95 442.38,481.83 446.00,482.00 446.47,485.33 446.92,487.98 448.55,491.00 449.69,493.11 452.54,496.27 452.68,498.42 452.84,500.75 448.54,509.91 446.61,511.23 445.11,512.26 443.70,512.13 442.00,511.94 434.71,511.14 421.03,505.19 419.24,517.00 418.68,520.67 420.10,524.10 423.11,526.28 425.67,528.13 429.91,528.78 433.00,529.40 439.50,530.71 447.68,533.63 454.00,531.28 465.92,526.85 466.21,510.50 471.64,505.59 471.64,505.59 483.00,501.22 483.00,501.22 483.00,501.22 503.00,491.35 503.00,491.35 503.00,491.35 516.00,488.07 516.00,488.07 525.80,484.15 532.81,475.41 534.67,465.00 534.67,465.00 537.17,438.00 537.17,438.00 537.17,438.00 539.83,416.00 539.83,416.00 539.83,416.00 542.17,388.00 542.17,388.00 542.17,388.00 543.39,376.00 543.39,376.00 544.92,368.90 546.98,372.05 547.00,360.00 547.01,355.78 547.38,344.42 546.35,341.00 544.88,336.10 538.80,328.23 535.63,324.00 535.63,324.00 516.13,298.00 516.13,298.00 513.40,294.37 502.30,280.18 501.38,277.00 500.35,273.40 502.91,268.09 503.00,261.00 503.11,251.23 502.59,244.19 498.72,235.00 497.38,231.82 496.06,227.94 492.89,226.17 490.42,224.79 486.78,225.00 484.00,225.00 484.00,225.00 310.00,225.00 310.00,225.00 310.00,225.00 310.00,199.00 310.00,199.00 310.00,199.00 356.00,199.00 356.00,199.00 385.67,198.86 410.95,173.68 411.00,144.00 411.00,144.00 411.00,54.00 411.00,54.00 410.99,46.88 410.13,40.58 407.22,34.00 399.31,16.12 382.59,0.03 362.00,0.00 362.00,0.00 303.00,0.00 303.00,0.00 303.00,0.00 186.00,0.00 186.00,0.00 158.45,0.04 136.31,27.63 136.00,54.00 136.00,54.00 136.00,144.00 136.00,144.00 136.08,150.53 137.68,158.02 140.31,164.00 142.99,170.09 144.90,173.87 149.30,179.00 159.26,190.63 175.55,198.93 191.00,199.00 191.00,199.00 207.00,199.00 207.00,199.00 207.00,199.00 238.00,199.00 238.00,199.00 Z M 380.00,176.00 C 380.00,176.00 380.00,65.00 380.00,65.00 379.97,47.33 369.92,36.21 352.00,36.00 352.00,36.00 197.00,36.00 197.00,36.00 179.48,36.03 168.03,44.67 168.00,63.00 168.00,63.00 168.00,177.00 168.00,177.00 156.46,170.24 150.06,157.15 150.00,144.00 150.00,144.00 150.00,129.00 150.00,129.00 150.00,129.00 150.00,100.00 150.00,100.00 150.00,100.00 150.00,55.00 150.00,55.00 150.04,29.36 170.00,12.04 195.00,12.00 195.00,12.00 288.00,12.00 288.00,12.00 288.00,12.00 332.00,12.00 332.00,12.00 354.63,12.00 375.65,9.32 390.25,31.00 392.39,34.18 394.64,38.34 395.78,42.00 397.07,46.13 397.95,52.65 398.00,57.00 398.00,57.00 398.00,139.00 398.00,139.00 397.98,152.48 393.19,169.76 380.00,176.00 Z M 366.00,184.00 C 366.00,184.00 349.00,186.00 349.00,186.00 349.00,186.00 274.00,186.00 274.00,186.00 274.00,186.00 199.00,186.00 199.00,186.00 199.00,186.00 181.00,184.00 181.00,184.00 181.00,184.00 181.00,66.00 181.00,66.00 181.01,60.86 180.93,56.13 185.21,52.43 188.21,49.85 191.31,50.02 195.00,50.00 195.00,50.00 221.00,50.00 221.00,50.00 221.00,50.00 351.00,50.00 351.00,50.00 353.43,50.00 356.75,49.87 359.00,50.74 361.82,51.83 364.17,54.18 365.26,57.00 366.51,60.22 366.00,77.37 366.00,82.00 366.00,82.00 366.00,184.00 366.00,184.00 Z M 214.00,85.57 C 205.73,88.85 203.57,97.60 210.13,102.26 213.44,104.61 219.97,104.01 224.00,104.00 227.34,103.99 231.00,104.27 233.89,102.26 238.71,98.91 239.38,91.36 234.77,87.56 230.67,84.17 219.08,84.65 214.00,85.57 Z M 317.00,85.57 C 308.26,89.03 306.71,97.69 313.13,102.26 316.44,104.61 322.97,104.01 327.00,104.00 330.34,103.99 334.00,104.27 336.89,102.26 341.67,98.94 342.42,91.46 337.77,87.70 333.41,84.17 322.33,84.60 317.00,85.57 Z M 296.00,199.00 C 296.00,199.00 296.00,225.00 296.00,225.00 296.00,225.00 268.00,225.00 268.00,225.00 268.00,225.00 251.00,224.00 251.00,224.00 252.39,218.29 252.27,204.68 251.00,199.00 251.00,199.00 296.00,199.00 296.00,199.00 Z M 132.00,239.00 C 129.13,245.67 127.19,248.42 127.01,256.00 127.01,256.00 133.00,306.00 133.00,306.00 133.00,306.00 101.00,299.21 101.00,299.21 86.37,296.10 79.12,295.67 68.04,284.00 64.01,279.75 61.24,275.67 59.64,270.00 58.04,264.30 57.94,261.84 58.00,256.00 58.05,251.96 58.83,242.41 62.42,240.02 64.29,238.78 67.79,239.00 70.00,239.00 70.00,239.00 132.00,239.00 132.00,239.00 Z M 157.00,239.10 C 157.00,239.10 234.00,239.10 234.00,239.10 234.00,239.10 383.00,239.10 383.00,239.10 387.07,239.01 389.98,239.03 394.00,240.04 414.25,245.16 404.87,271.62 403.15,286.00 403.15,286.00 393.28,358.00 393.28,358.00 393.28,358.00 383.58,432.00 383.58,432.00 383.58,432.00 380.28,454.00 380.28,454.00 378.98,464.47 379.54,478.26 367.00,482.20 364.12,483.10 360.99,483.00 358.00,483.00 358.00,483.00
189.00,483.00 189.00,483.00 185.34,482.99 182.49,483.14 179.00,481.71 174.99,480.07 172.04,476.94 170.27,473.00 170.27,473.00 164.80,439.00 164.80,439.00 164.80,439.00 159.71,399.00 159.71,399.00 159.71,399.00 149.72,326.00 149.72,326.00 149.72,326.00 145.05,293.00 145.05,293.00 145.05,293.00 142.71,274.00 142.71,274.00 141.01,263.00 136.51,248.58 149.04,241.83 151.69,240.41 154.10,239.87 157.00,239.10 Z M 414.00,306.00 C 414.00,306.00 417.29,281.00 417.29,281.00 418.35,274.17 421.19,261.53 420.53,255.00 419.83,247.94 418.02,245.14 415.00,239.00 415.00,239.00 478.00,239.00 478.00,239.00 480.03,239.00 483.64,238.74 485.30,239.99 488.08,242.09 489.41,252.48 489.68,256.00 490.40,265.43 486.08,277.01 479.82,283.99 469.54,295.42 460.64,296.06 447.00,299.01 447.00,299.01 414.00,306.00 414.00,306.00 Z M 211.00,278.16 C 198.90,281.35 195.02,288.20 195.00,300.00 195.00,300.00 195.00,361.00 195.00,361.00 195.00,363.56 194.89,366.55 195.65,369.00 199.76,382.31 214.33,383.14 226.00,382.99 226.00,382.99 305.00,382.99 305.00,382.99 315.87,382.99 336.34,384.68 344.96,378.35 351.50,373.56 352.91,366.62 353.00,359.00 353.00,359.00 353.00,303.00 353.00,303.00 352.99,298.72 353.00,295.09 351.44,291.00 347.36,280.32 338.23,278.02 328.00,278.16 328.00,278.16 252.00,278.16 252.00,278.16 252.00,278.16 211.00,278.16 211.00,278.16 Z M 55.00,290.00 C 66.13,301.12 76.70,309.63 93.00,311.00 89.57,317.66 76.51,334.19 71.37,341.00 71.37,341.00 49.54,369.67 49.54,369.67 44.21,375.00 36.36,377.20 29.00,375.61 18.25,373.29 11.43,363.82 12.09,353.00 12.65,343.97 18.91,336.91 24.13,330.00 24.13,330.00 55.00,290.00 55.00,290.00 Z M 493.00,290.00 C 493.00,290.00 523.71,331.00 523.71,331.00 530.66,340.71 535.34,343.38 534.98,356.00 534.53,372.44 515.68,381.27 502.04,373.12 495.76,369.37 487.94,357.21 483.45,351.00 483.45,351.00 454.00,311.00 454.00,311.00 464.51,310.14 474.97,305.54 483.00,298.70 483.00,298.70 493.00,290.00 493.00,290.00 Z M 212.11,292.60 C 212.11,292.60 251.00,292.00 251.00,292.00 251.00,292.00 328.00,292.00 328.00,292.00 336.68,292.02 338.94,292.75 339.00,302.00 339.00,302.00 339.00,357.00 339.00,357.00 338.99,360.28 339.45,364.82 336.57,367.07 334.06,369.03 329.07,368.98 326.00,369.00 326.00,369.00 288.00,369.00 288.00,369.00 288.00,369.00 221.00,369.00 221.00,369.00 209.95,368.95 208.02,366.85 208.00,356.00 208.00,356.00 208.00,331.00 208.00,331.00 208.00,331.00 208.00,302.00 208.00,302.00 208.07,297.31 207.94,295.26 212.11,292.60 Z M 234.02,305.74 C 228.37,308.92 225.94,316.81 231.42,321.15 234.09,323.27 238.74,322.99 242.00,323.00 242.00,323.00 306.00,323.00 306.00,323.00 308.72,323.00 312.41,323.22 314.85,321.83 319.94,318.85 320.44,310.59 314.85,306.74 312.00,304.73 308.34,305.01 305.00,305.00 305.00,305.00 259.00,305.00 259.00,305.00 252.58,305.00 239.64,304.37 234.02,305.74 Z M 234.04,337.74 C 228.15,341.16 225.98,348.93 232.13,353.40 234.70,355.27 237.99,354.99 241.00,355.00 241.00,355.00 306.00,355.00 306.00,355.00 312.75,354.99 320.15,354.16 318.76,345.00 317.68,337.84 311.94,337.03 306.00,337.00 306.00,337.00 259.00,337.00 259.00,337.00 252.63,337.00 239.60,336.37 234.04,337.74 Z M 54.00,384.00 C 54.00,384.00 55.83,399.00 55.83,399.00 55.83,399.00 59.17,438.00 59.17,438.00 59.17,438.00 61.00,454.00 61.00,454.00 61.07,460.05 61.65,464.94 57.61,469.98 49.41,480.22 33.78,478.81 27.84,467.00 24.91,461.19 24.53,445.17 23.83,438.00 23.83,438.00 21.71,415.00 21.71,415.00 21.71,415.00 19.00,387.00 19.00,387.00 23.66,388.05 28.17,389.80 33.00,389.96 40.98,390.22 46.87,387.02 54.00,384.00 Z M 494.00,384.00 C 500.61,387.43 507.38,390.35 515.00,389.91 515.00,389.91 529.00,387.00 529.00,387.00 529.00,387.00 526.83,409.00 526.83,409.00 526.83,409.00 525.29,419.00 525.29,419.00 525.29,419.00 523.09,443.00 523.09,443.00 522.40,452.36 523.04,464.97 515.90,471.81 506.03,481.28 489.42,476.48 486.39,463.00 484.98,456.71 487.39,447.50 487.92,441.00 487.92,441.00 490.91,409.00 490.91,409.00 491.32,403.10 491.98,388.94 494.00,384.00 Z M 75.00,465.00 C 77.40,466.14 80.86,467.52 82.69,469.39 84.80,471.56 87.88,481.03 86.58,483.86 85.45,486.34 83.23,486.70 81.00,487.66 79.26,488.40 76.77,489.90 75.00,490.06 71.60,490.36 64.68,486.13 62.00,484.00 70.88,477.13 70.23,473.76 75.00,465.00 Z M 473.00,465.00 C 475.94,475.31 479.37,477.10 485.00,485.00 482.36,486.46 475.90,489.88 473.00,489.82 471.03,489.79 468.87,488.55 467.00,487.85 459.85,485.18 459.58,484.62 461.41,477.00 461.83,475.27 462.13,472.68 463.02,471.21 464.80,468.26 469.90,466.33 473.00,465.00 Z M 322.00,497.00 C 322.00,497.00 322.00,543.00 322.00,543.00 321.93,585.52 270.67,607.07 240.01,577.91 224.05,562.73 225.00,547.01 225.00,527.00 225.00,527.00 225.00,497.00 225.00,497.00 225.00,497.00 322.00,497.00 322.00,497.00 Z" />
</svg>