Copy link to clipboard
Copied
I'm trying to export a logo as an .SVG for my website but the export keeps adding extra white space for no apparent reason.
I’ve already tried Object > Artboards > Fit to Selected Art. - The artboard kisses the edges of the logo perfectly. (Looks like it's a bit cut off, but it's not when you zoom in)
I’ve also tried Object > Path > Clean Up
I’ve also tried View > Outline - So I can look for any random objects to delete; nothing.
I've also tried artboard > artboard options - Ensured that the artboard ends on a solid numbers for Width & Height because I seen a forum where that was causing an issue with the exported file dimentions
I’ve also tried Export for Screens > Advanced Settings For Exported File Types > SVG > Unchecked the Responsive box - All that did was move my logo to the top of the extra white space instead of being in the middle of the extra white space. From this advanced settings panel, I’ve messed with a lot of different combinations in this panel and nothing visually changes except for when I select, or deselect, the responsive box.
Result of having the responsive box checked
Having the Responsive box unchecked
I've tried everything I can find and nothing seems to help. I can’t find anyone else having this exact problem. I really want to keep this logo an SVG. I know I can save it as a WebP or PNG and the problem will go away but I don't want a rasterized logo. Will someone please help?
Copy link to clipboard
Copied
in the future, to find the best place to post your message, use the list here, https://community.adobe.com/
p.s. i don't think the adobe website, and forums in particular, are easy to navigate, so don't spend a lot of time searching that forum list. do your best and we'll move the post (like this one has already been moved) if it helps you get responses.
<"moved from using the community">
Copy link to clipboard
Copied
And you are sure that the browser displays the SVG it its viewbox size?
You might want to check the code of your SVG if it's really the wrong size.
Copy link to clipboard
Copied
Hi Monika,
here's what it looks like when I try using the .SVG logo on my site (This is the version with the responsive box checked)
It does add that additional white space above and below the .SVG when I use it on my website which is very problematic when used in the header of my site.
Copy link to clipboard
Copied
Why are you using Responsive at all?
What about the SVG code? Did you check it?
How is the logo made? Is it a gradient in a compound path?
A clipping mask?
Copy link to clipboard
Copied
Good question. It's a compound path with a gradient fill. No Clipping Mask.
I don't know how to code, so looking at the SVG Code wouldn't help me. I could probably paste the code here if that would help.
I'm use the responsive box becasue I want my logo to keeps it's proportions the same no matter the size it's viewed at.
Copy link to clipboard
Copied
"I don't know how to code, so looking at the SVG Code wouldn't help me"
Just open the file in a text editor. In the first few lines, you will see the "viewBox" dimensions (e.g. 0 0 400 200, where the 400 is the width and 200 is the height). If these are accurate to the dimensions of your art objects, then something else is at play with your website.
It's possible your gradient fill is at fault, as it's being clipped by your letterforms, but may "exist" beyond those limits invisibly for the purposes of a bounding box.
Copy link to clipboard
Copied
Hi Brad, thanks for helping me. It looks like the code for the SVG logo and the size of the artboard match when I compare the view box with the artboard dimension. There must be something going on that I can't find or don't understand. I'm not using a clipping mask for my gradient so don't think that's the issue. I used to use the clipping mask technique for applying gradients, but found the gradient fill button under the active swatch indicator to be more efficient to work with. Also this issue still happens with an all black logo as well.
Copy link to clipboard
Copied
Can you upload a sample file?
Copy link to clipboard
Copied
I've attached the SVG file. I've also included the SVG Code to the logo. I appologize the the delayed response. I've been busy with my other company lately and finally had some more time to look back into this issue.
SVG Code:
<?xml version="1.0" encoding="UTF-8"?><svg id="a" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 872.3221435547 488.6886072157"><path id="b" d="m547.7427978516,335.224609375c-15.2335205078-.2309570312-25.3201904297.2084960938-40.4611816406,0,.6520996094-3.7788085938,1.619140625-9.33984375,2.8172607422-16.0561523438,4.9454345703-27.7250976562,16.2308349609-78.9541015625,30.6707763672-85.8017578125.8682861328-.412109375,12.6403808594-5.7036132812,22.5187988281,0,9.3798828125,5.4155273438,13.8410644531,18.8935546875,10.0125732422,27.5541992188-2.2873535156,5.1743164062-6.6138916016,8.2924804688-6.6141357422,8.2924804688-4.0402832031,2.9116210938-6.01171875,2.1025390625-8.29296875,4.9194335938-2.3059082031,2.84765625-2.5473632812,7.1162109375-1.3709716797,10.4521484375.0123291016.0356445312.0250244141.0708007812.0379638672.1059570312,1.5523681641,4.2680664062,6.0319824219,6.6381835938,10.5478515625,6.1586914062,1.9697265625-.2084960938,4.2380371094-.7626953125,6.5496826172-1.98046875,4.4951171875-2.3686523438,6.4705810547-6.2475585938,9.2498779297-11.7255859375,1.9235839844-3.7915039062,5.0102539062-10.0112304688,6.2222900391-19.0341796875.6983642578-5.1982421875,2.0975341797-15.615234375-3.0062255859-27.2221679688-1.5369873047-3.4951171875-6.7182617188-15.2788085938-19.6203613281-21.27734375-10.0749511719-4.6845703125-19.4346923828-3.2944335938-24.5474853516-2.5791015625-3.3620605469.4702148438-11.1575927734,1.9072265625-21.9027099609,8.4228515625-24.7087402344,14.9833984375-36.1898193359,39.3447265625-40.8054199219,49.4599609375-2.0939941406,4.5888671875-5.4645118137,11.6001408527-10.2365722656,30.7724609375-3.7690429688,15.142578125-4.7690429688,22.142578125-7.470703125,38.857421875-35.9266357422-.4155273438-83.8804931641,1.8447265625-96.8237304688,1.45703125,8.8411865234-56.1215820312,13.9637451172-85.7407226562,19.1130371094-96.3286132812,10.9001464844-3.3120117188,25.4132080078-17.7358398438,23.7993164062-29.5981445312-1.1740722656-8.6279296875-9.7492675781-15.1484375-20.1743164062-13.7299804688-11.8625488281,1.61328125-23.5952148438,6.8715820312-32.0145263672,23.0283203125-13.8133544922,1.87890625-24.9195556641-1.931640625-43.8985595703-2.8198242188.0826416016-1.48828125.1281738281-3.0004882812.1281738281-4.5415039062,0-46.376953125-43.2601318359-63.9145507812-44.4294433594-64.3056640625,2.7287597656-.7778320312,56.5106201172-26.5009765625,56.5106201172-72.099609375C324.2517089844,25.3315429688,269.6905517578,0,210.4512939453,0,127.4398193359,0,44.8184814453,45.2075195312,44.8184814453,103.2778320312c0,30.7866210938,41.3107910156,49.884765625,61.9660644531,49.884765625,5.4564208984,0,8.1840820312-1.9497070312,8.1840820312-7.4047851562,0-5.06640625-19.0959472656-12.4711914062-19.0959472656-36.2446289062,0-47.1572265625,41.7008056641-87.2983398438,113.7994384766-87.2983398438,35.0760498047,0,69.3708496094,19.095703125,69.3708496094,54.5600585938,0,38.5830078125-36.6334228516,57.6806640625-36.6334228516,57.6806640625,0,0-13.2514648438-4.2880859375-24.1632080078-4.2880859375-10.5227050781,0-19.8760986328,6.2358398438-19.8760986328,17.5375976562,0,10.1328125,9.3533935547,16.7592773438,20.6552734375,16.7592773438,8.57421875,0,19.8762207031-4.6772460938,19.8762207031-4.6772460938,10.9128417969,1.1694335938,24.1630859375,16.7573242188,24.1630859375,42.0913085938,0,7.8305664062-1.4851074219,14.9829101562-4.119140625,21.3471679688-14.771484375,5.748046875-28.5622558594,15.8979492188-34.3706054688,30.1762695312-5.1378173828,1.4794921875-10.5465087891,2.2583007812-16.072265625,2.2583007812-21.4345703125,0-42.4799804688-10.1328125-63.9145507812-22.21484375,3.1179199219-5.06640625,6.2355957031-10.1328125,9.353515625-15.9790039062,25.7215576172-45.5966796875,51.8332519531-125.8818359375,56.5095214844-136.7944335938,9.3544921875-20.654296875,22.6048583984-32.736328125,22.6048583984-35.8530273438,0-3.119140625-1.1693115234-5.4575195312-6.6257324219-5.4575195312-8.9632568359,0-28.8394775391,3.5078125-47.5462646484,15.9790039062-15.9791259766,10.1328125-44.4284667969,111.4609375-65.8640136719,150.4345703125l-4.287109375,7.4052734375c-19.0959472656-9.7436523438-38.5819091797-17.5375976562-58.8481445312-17.5375976562-22.6038818359,0-49.8848876953,17.146484375-49.8848876953,45.9858398438,0,27.28125,30.3988037109,44.4296875,62.3560791016,44.4296875,28.0603027344,0,47.9364013672-10.1328125,65.4738769531-30.0087890625,28.4504394531,15.1987304688,60.4077148438,30.0087890625,95.4826660156,30.0087890625.8820800781,0,1.7689208984-.0141601562,2.6577148438-.03515625,11.185546875,20.9833984375,41.9914550781,32.4555664062,58.212890625,30.248046875,5.0319824219-.6845703125,7.3041992188-2.8232421875,6.6196289062-7.8564453125-.6356201172-4.6733398438-19.1790771484-9.1069335938-22.1625976562-31.0346679688-.0310058594-.2280273438-.0471191406-.455078125-.0717773438-.6831054688,15.7058105469-7.0258789062,29.2722167969-18.1821289062,36.9365234375-34.04296875,11.7727050781-.4921875,29.076171875.8583984375,40.6906738281-.7216796875-12.1318359375,26.5463867188-18.6923828125,56.36328125-26.3347167969,94.380859375-13.087890625.681640625-26.8447265625,1.8232421875-41.5834960938,3.828125-54.2795410156,7.3852539062-110.1008300781,30.3559570312-102.9113769531,83.19921875,5.1840820312,38.103515625,43.2296142578,64.7797851562,93.1959228516,57.9814453125,57.1552734375-7.7763671875,82.2501220703-54.7592773438,93.2840576172-124.3588867188,13.0979003906,1.8544921875,59.3861083984,2.8798828125,95.4451904297,5.19140625-2.3159179688,16.1791992188-2.7264404297,33.5009765625-4.6055908203,43.119140625-2.6796875,13.7143554688-4.2961425781,19.990234375-6.6691894531,26.814453125-5.3414306641,15.3603515625-8.7895507812,24.8344726562-17.9688720703,29.5522460938-.8656005859.4453125-12.5714111328,6.23046875-22.5186767578,0-8.7019042969-5.4501953125-10.4357910156-16.5732421875-9.3041992188-23.7080078125.4294433594-2.7075195312,1.3615722656-8.5849609375,5.9057617188-12.138671875,3.5009765625-2.73828125,5.8303222656-1.8779296875,8.29296875-4.9194335938,2.3057861328-2.84765625,2.5473632812-7.1162109375,1.3708496094-10.4521484375-.0123291016-.0356445312-.0250244141-.0708007812-.0379638672-.1059570312-1.5523681641-4.2680664062-6.0318603516-6.6381835938-10.5478515625-6.1586914062-1.9696044922.2084960938-4.2379150391.7626953125-6.5496826172,1.98046875-4.2856445312,2.2583007812-6.1898193359,6-9.2497558594,11.7255859375-1.4245605469,2.6655273438-3.8427734375,7.2646484375-5.5278320312,14.068359375-1.3647460938,5.5112304688-3.6624755859,14.7890625-.8953857422,25.5063476562.5594482422,2.1669921875,5.53515625,20.228515625,22.8273925781,27.958984375,10.3101806641,4.609375,19.8563232422,3.2358398438,24.5474853516,2.5791015625,3.3620605469-.4702148438,11.1577148438-1.9072265625,21.9027099609-8.4228515625,24.7088623047-14.9833984375,36.1898193359-39.3447265625,40.8055419922-49.4599609375,5.1728515625-11.3364257812,7.7705078125-21.3076171875,10.2364501953-30.7724609375,3.1846923828-12.2241210938,2.9254150391-26.76171875,3.9343261719-34.5825195312,3.1983642578.0297851562,7.6134033203-.2114257812,12.7064208984-1.396484375,3.7474365234-.8720703125,9.8210449219-2.3466796875,16.3304443359-6.841796875,2.4613037109-1.6997070312,8.7082519531-6.123046875,12.9263916016-14.3696289062,1.2453613281-2.4350585938,2.0633544922-5.3076171875,2.5397949219-6.9057617188ZM54.951171875,262.2846679688c-12.4713134766,0-22.9940185547-7.015625-22.9940185547-17.5375976562,0-10.521484375,8.57421875-19.4868164062,20.6553955078-19.4868164062,12.4711914062,0,26.1116943359,5.06640625,40.9215087891,12.4711914062-11.6918945312,16.3681640625-22.6037597656,24.5532226562-38.5828857422,24.5532226562Zm194.0435791016,192.0385742188c-16.6024169922,1.689453125-32.361328125-9.8344726562-34.234375-28.2412109375-3.4157714844-33.5649414062,30.7102050781-67.3041992188,87.3751220703-73.0708007812,4.6917724609-.4770507812,9.4202880859-.5947265625,14.1488037109-.7119140625-12.7637939453,50.1630859375-27.2280273438,97.947265625-67.2895507812,102.0239257812Zm609.9360351562-120.130859375c-2.2320556641,0-4.2921142578,1.2021484375-4.8072509766,3.2626953125-3.4334716797,11.6743164062-7.8978271484,30.7314453125-14.4212646484,42.5771484375-2.9189453125,5.3232421875-9.6147460938,12.189453125-15.1088867188,12.189453125-2.5751953125,0-3.9484863281-2.4028320312-3.9484863281-5.150390625,0-15.1079101562,11.1596679688-34.1650390625,11.1596679688-43.091796875,0-2.576171875-8.4128417969-9.787109375-13.5635986328-9.787109375-2.0598144531,0-3.7766113281,1.3735351562-4.6356201172,3.2626953125-3.3419189453,7.7983398438-10.0725097656,27.005859375-12.4954833984,40.5810546875-2.4057617188,3.5712890625-9.7750244141,13.4995117188-17.3785400391,13.4995117188-6.3525390625,0-9.2712402344-7.0400390625-9.2712402344-16.4814453125,0-2.7475585938.171875-5.666015625.6865234375-8.5844726562,0,0,37.7709960938-52.0209960938,37.7709960938-68.6743164062,0-7.8979492188-7.8977050781-15.966796875-14.9368896484-15.966796875-15.7950439453,0-30.0450439453,26.9541015625-37.9425048828,55.111328125,0,0-4.1203613281-2.7475585938-10.8159179688-2.7475585938-15.0611572266,0-38.5349121094,17.8022460938-40.6854248047,43.8676757812-2.4649658203,3.59375-9.9332275391,13.4755859375-17.5189208984,13.4755859375-3.4339599609,0-5.4938964844-2.576171875-5.4938964844-6.5244140625,0-12.3608398438,9.0992431641-25.7529296875,9.0992431641-36.0532226562,0-6.6962890625-7.0393066406-14.765625-14.5931396484-14.765625-14.5932617188,0-26.9545898438,10.9877929688-26.9545898438,10.9877929688-5.3226318359-8.240234375-9.4431152344-9.2705078125-12.0181884766-9.2705078125-2.0604248047,0-3.7772216797,1.201171875-4.6356201172,3.2622070312-2.984375,7.396484375-9.3999023438,23.8173828125-12.3557128906,39.6235351562-2.8752441406,4.04296875-9.8868408203,12.740234375-17.0043945312,12.740234375-2.9189453125,0-4.8068847656-2.060546875-4.8068847656-4.8081054688,0-11.6733398438,9.9575195312-31.2451171875,9.9575195312-36.3969726562,0-6.0087890625-7.0390625-8.0688476562-12.1899414062-8.0688476562,0,0-4.8070068359-8.0693359375-18.7137451172-8.0693359375-18.8856201172,0-39.4871826172,26.2680664062-39.4871826172,50.9912109375,0,10.47265625,7.8969726562,17.8549804688,17.1684570312,17.8549804688,13.0480957031,0,24.3793945312-14.5932617188,24.3793945312-14.5932617188,1.2014160156,9.6142578125,8.583984375,14.5932617188,18.0263671875,14.5932617188,8.4975585938,0,15.8793945312-5.2783203125,21.1372070312-10.5561523438-.0074462891.3715820312-.0178222656.7456054688-.0178222656,1.11328125,0,5.494140625,7.0393066406,9.4428710938,16.138671875,9.4428710938,2.4036865234,0,3.7770996094-.515625,3.7770996094-3.43359375,0-32.9633789062,16.138671875-53.3940429688,26.439453125-53.3940429688,1.888671875,0,3.4340820312,1.201171875,3.4340820312,2.7470703125,0,10.3002929688-8.7559814453,22.662109375-8.7559814453,36.7407226562,0,9.6137695312,8.7559814453,17.33984375,21.8035888672,17.33984375,10.3065185547,0,18.96484375-7.76171875,24.1899414062-13.8740234375,2.8835449219,8.4775390625,10.6348876953,13.8740234375,18.3914794922,13.8740234375,14.2496337891,0,28.1563720703-16.8247070312,28.1563720703-16.8247070312.6862792969,6.0078125,8.9273681641,16.8247070312,21.8039550781,16.8247070312,9.5505371094,0,17.6911621094-6.6669921875,22.9914550781-12.5092773438,2.3603515625,7.232421875,10.5078125,12.5092773438,17.1845703125,12.5092773438,8.9272460938,0,18.0266113281-6.5244140625,23.5205078125-12.8764648438-.6325683594,3.4809570312-3.1584472656,14.2397460938-4.7604980469,20.4765625l-2.9718017578,11.4609375c.0023193359-.0004882812.0042724609-.0024414062.0064697266-.00390625l-5.408203125,15.9663085938c-2.6872558594,6.8427734375-6.2358398438,8.8828125-10.6983642578,7.1298828125-9.0740966797-3.5634765625-5.6607666016-23.1201171875-5.6607666016-23.1201171875,0,0-.3723144531-2.5498046875-2.3063964844-3.3095703125-1.3385009766-.5249023438-3.4420166016.021484375-4.1431884766,1.806640625-.5260009766,1.3388671875-1.3385009766,4.4638671875-1.3385009766,4.4638671875.0095214844.7260742188-5.0258789062,21.8745117188,9.5319824219,29.7822265625,7.2265625,3.9262695312,18.2473144531,5.6142578125,26.0847167969.1684570312,1.9255371094-1.3100585938,4.6435546875-3.4921875,6.9738769531-6.8583984375,3.1625976562-4.5688476562,4.0126953125-9.0112304688,4.330078125-10.6518554688,2.2043457031-11.4047851562,8.1350097656-39.9931640625,10.1047363281-48.3408203125,6.3647460938-26.9750976562,10.9877929688-33.212890625,10.9877929688-45.1528320312,0-2.576171875-8.4123535156-9.787109375-13.3913574219-9.787109375Zm-57.8596191406-42.0634765625c1.5451660156,0,2.4035644531,1.2021484375,2.4035644531,2.919921875,0,14.9365234375-27.2978515625,58.7153320312-27.2978515625,58.7153320312,6.0087890625-30.0444335938,19.056640625-61.6352539062,24.8942871094-61.6352539062Zm-233.3254394531,97.8608398438c-3.60546875,0-4.9790039062-2.7465820312-4.9790039062-7.7255859375,0-14.4208984375,12.1896972656-38.1137695312,22.1472167969-38.1137695312,3.4339599609,0,6.1809082031,2.4033203125,6.1809082031,7.3818359375,0,13.2197265625-15.1082763672,38.4575195312-23.3491210938,38.4575195312Zm187.1420898438-12.8759765625s-11.6748046875,14.25-18.8854980469,14.25c-3.9489746094,0-6.3522949219-3.60546875-6.3522949219-9.7866210938,0-14.0776367188,12.3615722656-37.7700195312,23.3493652344-37.7700195312,2.9184570312,0,4.8068847656,2.7465820312,4.8068847656,2.7465820312-1.5446777344,10.4731445312-2.7469482422,20.4301757812-2.9184570312,30.5600585938ZM314.953125,122.73828125c0,8.6245117188,5.6923828125,12.7651367188,5.6923828125,12.7651367188-5.0025634766,16.2143554688-11.9024658203,26.21875-15.0074462891,30.7036132812-.517578125.8627929688-1.8974609375,2.5883789062-1.8974609375,4.1411132812,0,1.724609375,1.8974609375,3.6215820312,3.6223144531,3.6215820312,2.0703125,0,3.2775878906-1.8969726562,3.7951660156-2.5864257812,3.6225585938-5.3486328125,10.1774902344-15.8701171875,16.7329101562-32.6025390625,0,0,10.3494873047.689453125,10.3494873047,4.1396484375,0,5.34765625-10.8673095703,17.2495117188-10.8673095703,32.4296875,0,9.4873046875,8.7976074219,17.25,21.9073486328,17.25,9.4716796875,0,17.5588378906-6.5258789062,22.8883056641-12.3393554688,2.2412109375,7.4584960938,8.8872070312,12.3393554688,16.4426269531,12.3393554688,13.1102294922,0,24.4948730469-14.6616210938,24.4948730469-14.6616210938,1.2073974609,9.6591796875,8.6247558594,14.6616210938,18.1123046875,14.6616210938,8.5373535156,0,15.9543457031-5.3032226562,21.2370605469-10.607421875-.0073242188.3745117188-.0178222656.7504882812-.0178222656,1.1201171875,0,5.51953125,7.0726318359,9.4873046875,16.2150878906,9.4873046875,2.4150390625,0,3.794921875-.517578125,3.794921875-3.4501953125,0-33.1201171875,16.2150878906-53.646484375,26.5649414062-53.646484375,1.8974609375,0,3.4499511719,1.2075195312,3.4499511719,2.7592773438,0,10.349609375-8.7971191406,22.7700195312-8.7971191406,36.9150390625,0,9.6596679688,8.7971191406,17.4223632812,21.9072265625,17.4223632812,10.3552246094,0,19.0543212891-7.7983398438,24.3039550781-13.939453125,2.8975830078,8.5170898438,10.685546875,13.939453125,18.4790039062,13.939453125,14.3168945312,0,28.2893066406-16.9047851562,28.2893066406-16.9047851562.6901855469,6.037109375,8.9699707031,16.9047851562,21.9074707031,16.9047851562,17.0773925781,0,29.6704101562-21.216796875,29.6704101562-21.216796875,0,0,1.5520019531-2.587890625,1.5520019531-4.1401367188,0-1.8969726562-1.7249755859-3.4506835938-3.6226806641-3.4506835938-2.0694580078,0-3.4497070312,2.4145507812-3.4497070312,2.4145507812,0,0-8.9700927734,14.8344726562-18.2847900391,14.8344726562-6.3823242188,0-9.3149414062-7.0717773438-9.3149414062-16.5590820312,0-2.7602539062.1727294922-5.6918945312.6896972656-8.6245117188,0,0,37.9501953125-52.267578125,37.9501953125-68.9995117188,0-7.9350585938-7.9351806641-16.0424804688-15.0078125-16.0424804688-15.8696289062,0-30.1870117188,27.08203125-38.1223144531,55.3720703125,0,0-4.1398925781-2.759765625-10.8674316406-2.759765625-15.1322021484,0-38.7175292969,17.8862304688-40.8779296875,44.0751953125-2.4768066406,3.6103515625-9.9802246094,13.5380859375-17.6018066406,13.5380859375-3.4503173828,0-5.5200195312-2.5874023438-5.5200195312-6.5541992188,0-12.4194335938,9.1420898438-25.875,9.1420898438-36.224609375,0-6.7265625-7.0723876953-14.8344726562-14.662109375-14.8344726562-14.6623535156,0-27.0823974609,11.0400390625-27.0823974609,11.0400390625-5.3477783203-8.2802734375-9.4876708984-9.3154296875-12.0750732422-9.3154296875-2.0700683594,0-3.7950439453,1.2075195312-4.6575927734,3.2778320312-2.9989013672,7.431640625-9.4442138672,23.9296875-12.4141845703,39.8115234375-2.8889160156,4.0620117188-9.93359375,12.7993164062-17.0849609375,12.7993164062-2.9328613281,0-4.8298339844-2.0698242188-4.8298339844-4.8291015625,0-11.7299804688,10.0050048828-31.3940429688,10.0050048828-36.5698242188,0-6.0380859375-7.0726318359-8.1064453125-12.2476806641-8.1064453125,0,0-4.8298339844-8.1079101562-18.8026123047-8.1079101562-17.4483642578,0-36.3411865234,22.31640625-39.2705078125,45.2221679688-3.0524902344,4.2094726562-9.8731689453,12.3911132812-16.7926025391,12.3911132812-3.4500732422,0-5.6925048828-2.0698242188-5.6925048828-6.037109375,0-13.9716796875,12.7646484375-28.6342773438,12.7646484375-36.396484375,0-4.4858398438-2.9320068359-8.2802734375-7.0721435547-8.2802734375-4.1398925781,0-6.5550537109,2.2416992188-14.3175048828,2.2416992188-4.1400146484,0-7.2448730469-1.2065429688-7.2448730469-3.6215820312,0-2.759765625,2.2426757812-5.51953125,2.2426757812-10.0048828125,0-3.4501953125-5.8653564453-8.970703125-10.6951904297-8.970703125-4.1401367188,0-10.0050048828,5.693359375-10.0050048828,12.7661132812Zm316.8870849609-41.5727539062c1.5522460938,0,2.4145507812,1.20703125,2.4145507812,2.9326171875,0,15.0078125-27.4271240234,58.9936523438-27.4271240234,58.9936523438,6.0377197266-30.1860351562,19.1474609375-61.9262695312,25.0125732422-61.9262695312Zm-48.2995605469,51.9213867188c2.9321289062,0,4.8298339844,2.7607421875,4.8298339844,2.7607421875-1.5524902344,10.5224609375-2.7604980469,20.5263671875-2.9322509766,30.7045898438,0,0-11.7301025391,14.3178710938-18.9752197266,14.3178710938-3.9676513672,0-6.3823242188-3.623046875-6.3823242188-9.8325195312,0-14.1455078125,12.419921875-37.9506835938,23.4599609375-37.9506835938Zm-168.8819580078.3461914062c3.4503173828,0,6.2100830078,2.4145507812,6.2100830078,7.4165039062,0,13.2827148438-15.1800537109,38.6396484375-23.4598388672,38.6396484375-3.6221923828,0-5.0025634766-2.759765625-5.0025634766-7.76171875,0-14.4897460938,12.2473144531-38.2944335938,22.2523193359-38.2944335938Z" style="opacity:.9411764706; stroke-width:0px;"/></svg>
Copy link to clipboard
Copied
If I drag the file directly into my browser the bounding box is tight to the logo like I want... Hmmmm now I'm even more confused.
Copy link to clipboard
Copied
What happens if you open the file directly by your browser? (e.g. drag it into a new window)
Copy link to clipboard
Copied
Have you tried the Export>Export As command? You can export SVG files from that command. The first dialog box where you choose file type and file location has an option to use (or not use) artboards. Leaving that option unchecked will save the artwork only. There won't be any extra space maintained around it. The only disadvantage with using this approach is it will export everything on the artboard (it doesn't have a Selection Only option). So it's usually best to paste the element you want to export into a new document by itself before using the Export>Export As command.
Copy link to clipboard
Copied
Thanks, I'll give this a try.
Copy link to clipboard
Copied
Same result as before. I'm thinking this has to be a bug.
Copy link to clipboard
Copied
I'm trying to export a logo as an .SVG for my website but the export keeps adding extra white space for no apparent reason.
I’ve already tried Object > Artboards > Fit to Selected Art. - The artboard kisses the edges of the logo perfectly. (Looks like it's a bit cut off, but it's not when you zoom in)
I’ve also tried Object > Path > Clean Up
I’ve also tried View > Outline - So I can look for any random objects to delete; nothing.
I've also tried artboard > artboard options - Ensured that the artboard ends on a solid numbers for Width & Height because I seen a forum where that was causing an issue with the exported file dimentions
I’ve also tried Export for Screens > Advanced Settings For Exported File Types > SVG > Unchecked the Responsive box - All that did was move my logo to the top of the extra white space instead of being in the middle of the extra white space. From this advanced settings panel, I’ve messed with a lot of different combinations in this panel and nothing visually changes except for when I select, or deselect, the responsive box.
Result of having the responsive box checked and below is what it looks like when I place it on my website.
Having the Responsive box unchecked
I've tried everything I can find and nothing seems to help. I can’t find anyone else having this exact problem. I really want to keep this logo an SVG. I know I can save it as a WebP or PNG and the problem will go away but I don't want a rasterized logo. Will someone please help?
Copy link to clipboard
Copied
Maybe continue in your other thread? https://community.adobe.com/t5/illustrator-discussions/how-to-get-rid-of-extra-white-space-in-svg-ex...
Copy link to clipboard
Copied
Hey, not sure if you were able to figure this out but I had the same problem and was able to fix it. It looks like you're uploading your SVG logo to wix and it creates that padding for the logo. When you have the logo clicked on the right hand panel where it shows your section details, scroll all the way to the bottom and look for 'Position' I was able to adjust the margins on the top and bottom and pull the Navi header background up to tighten up the spacing on the top and bottom of the logo. Hope that helps.