This is the Area Type Tool I've created:

enter image description here

I'd like to:

  1. Center it (also) vertically, so if I resize the width/height area it will keep both the vertical and horizontal alignments
  2. Add a background color to the area (red, for example)

How would you do it?

3 Answers 3

  • Direct Selection Tool > Select the text frame > choose a filling color

Txt area

  • Not sure why, but when I click on "red" it colors the text, not the background :(
    – markzzz
    Jun 25, 2018 at 7:00
  • Use the Direct Selection Tool, but click exactly at the text field border, if you can't use the Outline View Mode. The selection frame is different than selecting a text field.
    – user120647
    Jun 25, 2018 at 7:20
  • I did. But the background color doesn't change :O
    – markzzz
    Jun 25, 2018 at 7:35
  • If you still in outline view Mode you will not see any color
    – user120647
    Jun 25, 2018 at 7:37
  • I'm not in Outline View Mode (CTRL+Y).
    – markzzz
    Jun 25, 2018 at 7:47

Kind of tricky in AI CS6. Both native features in InDesign.

enter image description here


In illustrator I would make the background an independent rectangle and center the text over it.

This will give you more control of borders and spacing.

Center justify your text:

enter image description here

Make a rectangle, select both it and your text and align both horizontally and vertically:

enter image description here

This text can be edited or resized and will remain centered on the rectangle.

  • Every time I change the text size, I need to realign, right? Or can be automatic?
    – markzzz
    Jun 22, 2018 at 22:58
  • No if the text is both center justified and center aligned with the background rectangle than stays centered when you resize it
    – Webster
    Jun 22, 2018 at 23:01
  • How do you center "respect" another object? (such the rectangle)
    – markzzz
    Jun 22, 2018 at 23:06
  • I changed the picture to show the align tool. Two objects can be selected and center aligned with each other
    – Webster
    Jun 22, 2018 at 23:15
  • Yes, but "in that moment". Once I resize the text, it lost the alignment between text and rectangle. I need to redo the selection+alignment. They are not "linked" forever :O
    – markzzz
    Jun 23, 2018 at 7:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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