4

I create a new file in Illustrator. 30 x 30 px. No stroke just black fill.
I create a new rectangle 27 27 px
I select the rectangle and go to the icon align to artboard
I click to the icon Horizontal Align Center and Vertical Align Center
It moves but it does not align in the center

I do not understand. Is there anything else I have see. I am sure there is not guides, no other objects. I closed and open Illustrator and still does not center.

I have the same problem if I create a new document with any new rectangle. I do not know what else to check.

Any ideas?

enter image description here

3
  • Hmm, it should work. are you sure it's not grouped with another object by accident?
    – SaturnsEye
    Commented Aug 1, 2014 at 15:14
  • I create a new document just to be sure. There is nothing else but a rectangle. Look at the layers
    – Nrc
    Commented Aug 1, 2014 at 15:18
  • Can I upload my file any place where people could check?
    – Nrc
    Commented Aug 1, 2014 at 15:24

10 Answers 10

8

I've had this problem before. If its the same thing I experienced...here's your answer...Make sure that inside your transform tool, your "Scale Strokes & Effects" and "Align To Pixel Grid" boxes are UNCHECKED.

enter image description here

1
  • 3
    Scale Stokes and Effect won't be an issue, but you're correct about the Align to Pixel Grid.
    – Scott
    Commented Aug 1, 2014 at 16:32
8

Windows → Align → More Options → Align to Artboard

You're currently aligning with Selection, that's the issue.

2
  • Thanks for that. This one was getting me really frustrated with. I've never had a problem with this in the past and certainly didn't know it would be hidden away in such an obscure place, especially as it's so useful!
    – Leonard
    Commented Aug 2, 2016 at 5:33
  • Yes, thank you so much! Just helped me out a lot today!
    – Alexander
    Commented Jun 1, 2021 at 3:17
2

What you're doing should be correct but can I suggest, from seeing your screenshot I'm not sure if you're aligning properly.

Try Window > Align and then choosing these two selections I have highlighted. Just make sure you do this while your square has been selected:

enter image description here

4
  • Yes, these are the icons that I click. It is just crazy. Could it be a problem of my Illustrator?
    – Nrc
    Commented Aug 1, 2014 at 15:22
  • Hmm, weird. Not a problem I've every came across, unless I've accidentally grouped it with something else.
    – SaturnsEye
    Commented Aug 1, 2014 at 15:23
  • In Adobe CC 2014 - you do not have the Align to section on the pop-up but it does appear on the tool bar Commented Jul 10, 2015 at 14:09
  • HEY - in this screenshot click Align To:. If Align to artboard is checked, it works.
    – kcdwayne
    Commented Nov 27, 2019 at 19:46
1

Hopefully the following experience helps anyone with a particularly persistent problem with not being able to paste into the center of an [adobe cc 2015] illustrator window. It's thorough and you can skip to the end if you "know" you've done "everything". It's for the googler, like me who just can't seem to figure it out the paste-centre problem in an .ai/.eps file and is currently frustrated by search results from google/yahoo/experts/duck-duck-go.

The situation:

I was using cmmd-0 or cntrl-0 to center the artboard/page within the illustrator. I was then using that cmmd-v or cntrl-v to usually just paste the item/s centered. It wasn't working. I was surprised as I almost always work very cleanly.

My problem solving:

But I went through the usual hang-ups. With the item/s selected and temporarily pasted into a new blank document (for less confusion by other objects):

  1. I made sure my selected objects had the edges showing (menu>view>show edges - if your edges are showing already the menu will only give you the option to 'hide edges').

  2. I made all my guides visible (menu>view>guide>show guides), and made sure they could be selected (menu>view>guide>lock guides - untick this by selecting it) for potential deleting. I had no guides to single out and delete.

  3. I made sure I had the bounding box turned on to see what "size" the selection was 'occupying' (menu>view>show bounding box). The bounding box was not missing, or weirdly skewed beyond my desired selection (go through 4-7 for possibilities of what needs to be deleted). The bounding box only showed what I required and 'stuck to the very edges' of my desired selection. I couldn't see any stray points or type or guides to delete. But I kept going:

  4. I had a look at the outline of my selection (menu>view>outline) to see what it contained - I didn't see anything extra I couldn't normally see, didn't want and needed to be selected/deleted. I turned preview back on.

  5. I unlocked everything (menu>object>unlock all) and I unhid everything (menu>object>show all) - this didn't reveal anything new I needed to delete or explain a larger bounding box that what I could see. I also looked at outline again just in case I just 'unhid' something that wasn't stroked/filled, then turned preview back on.

  6. I then zoomed right out to as far as I could go (menu>view>zoom in - repeatedly) turned on outline again (menu>view>outline) and then double checked for stray things. Nothing showed to zoom into and delete. Something a missing bounding box means there are the remnants of guideline points from guidelines I didn't fully delete or items/stray points waaay out into nowhere. I then turned preview back on (menu>view>preview) and zoomed back in to my selection (zoom tool or menu>view>zoom in repeatedly or cmmd-0/cntrl-0).

  7. I ungrouped things and regrouped the exact set of items I wanted selected. Then I cut those items (menu>edit>cut), selected 'everything else' i.e. the invisible problem which I couldn't physically click and select with my mouse (menu>select>all) and hit the backspace button to delete it/them if they even existed. I then pasted my selection back in (menu>edit>paste). The bounding box was still the same.

Retesting the situation:

I tried cmmd/cntrl-0 and cmmd/cntrl-v to test out my problem and compared any 'difference in placement' with the centre-align to artboard tool (panel available under menu>window>align) if it's not showing on that object-determined menu bar top thing (just above your document window).

The problem persists. Even after 'definitively' looking for and deleting something I couldn't find - I still can't paste at the exact center of the artboard without realigning it (by cmmd-0 then cmmd-v / cntrl-0 then cntrl-v). I googled for forums like this. No help. I had already been through the above recommendations.

A key forum comment and reflection:

Hang on a second. People kept saying 'Illustrator pastes at the center of the window. It doesn't paste at the center of a document.'

And What affects the size of my window? The scroll bar. But how on earth can ...or actually... did I affect... balance that??

My discovered answer:

The scroll bar runs bottom and side-right. The rulers run top and side-left. The 'rulers' is a 'window feature' that perfectly balances the placement and size/width of the scroll-bar.

Document Window Without RulersDocument Window with Rulers

  1. So turn on the rulers: menu>view>rulers>show rulers. Now I find my automatic paste function is back to normal. So, effectively I alter the window, and its center, every time I turn the rulers on and off. I've tested it a few times - it must be a glitch. Sometimes the rulers on/off affect the pasting, sometimes it doesn't. But it's working now. Weird.

Sorry about the lengthy thorough response, but I hope this helps your toolkit of finding/fixing the problem.

Best of luck in your graphic work. Don't bang your head into a rock - rock your creative spirit on instead. ;p

-Sunny

(P.S. I'm Australian so the whole center/centre thing isn't really my priority - I hope you got the point despite the inconsistencies and that something helped).

1
  • There's definitely something there, I also noticed that showing/hiding rulers in a document before pasting causes a difference in the position of the pasted object.
    – Luciano
    Commented Sep 25, 2018 at 14:05
0

The Align by default only works with more than one item selected.

enter image description here

If you change "Align To:" Artboard it will align the item based on the dimensions of the Artboard you are using.

2
  • This is only partially correct. If "Align To:" is set to Artboard, you only need one item selected.
    – TunaMaxx
    Commented Sep 29, 2014 at 20:44
  • This was the problem I had, when importing from a PDF. Not sure if that is relevant Commented Mar 31, 2016 at 8:39
0

I'm having the same problem. But it was a different issue for me. I have a design that was done in InDesign and exported to PDF, then reopened in Illustrator. When I try to align to artboard center horizontal and center-vertical, it would move but it would not be centered. If you try it again (from the position it just moved to), it would actually move to another location--almost like a step-and-repeat.

So I ungrouped, and a bunch of other boxes appear. I deleted those, and had to "release clipping mask", then I was able to center to the artboard, FINALLY!

You can see the steps I took below.

First image: placing art in document/// Image 2: trying to center horiz and vert/// Image 3: another attempt to center horiz and vert/// Image 4: ungroup and release clipping mask/// Image 5: Ta-daaa! Now it will center correctly.

Object placed on the artboard

After first center attempt

After second center attempt

enter image description here

enter image description here

1
  • 2
    While this certainly is helpful, it has nothing to do with the original question. Perhaps you should pose this as a new question, then answer yourself with your solution. That would assist other using in finding this information.
    – Scott
    Commented Sep 29, 2014 at 21:04
0

It was the hidden "Guides", they got grouped to the object(s). Unhide the guides and ungroup them from your object(s), and then try to align again.

-1

You need to see whether in the Align option - down right hand corner - under 'Align to section' - need to select 'Align to artboard option', then it will work properly

-1

I had the same problem completely randomly. I resolved it by checking 'use preview bounds'

enter image description here

enter image description here

-2

just by aligning vertically and horizontally but make sure you have aligned to artboard not to selection

0

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