Can't seem to figure out why SVGs won't properly align in Illustrator.

I'm aligning to artboard and for whatever reason the object refuses to align properly.

Here's it aligned horizontally.

Any ideas? Other objects works just fine.

enter image description here

  • What's the expected result? Where should it be aligned to? Do you see the problem in Illustrator or when viewing the file somewhere else? – Luciano Jul 11 '16 at 12:52
  • @Luciano i added a screenshot above that shows what happens when I horizontally align the object. The object appear at the bottom and not in the middle horizontally. Issues is in illustrator as well. – Peekay Jul 11 '16 at 13:02
  • @Peekay Tip for the future, please input any screenshots/images of your work/question-related graphics so we don't have to click on external links for reference. Thank you! – Whytek Jul 11 '16 at 13:54
  • 1
    Sometimes an invisible object in a group or clip group may be the culprit of weird alignment issues. Use ctrl+y to see the outlines of all objects to see if there's nothing hiding from you. – PieBie Jul 11 '16 at 15:31
  • @PieBie thanks, took a look at the layers panel and there was some weird stuff going on. Got it to work. Thanks – Peekay Jul 11 '16 at 16:49

This issue could be caused by two possibilities:

There is a bounding box surrounding the SVG. Simulated example with the below image:

enter image description here

Pay close attention to the blue box surrounding the pink star. If that is the case you need to modify the SVG and get rid of the bounding box so this would require some editing on the SVG.

Other possibility is you do no have your Align To options set correctly in the Align Panel:

enter image description here

To adjust these settings you can go to Window -> Align -> Align To


Solution, Don't drag and drop the SVG in the Ai rather open it in a new window of Ai and then copy and paste the SVG in your working artboard, hopefully, it will work. It is working for me this way.


Remove all clipping masks. Select->Object->Clipping Mask. Edit->Clear - or Alt Ctrl 7

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.