1

I have the following layers:

layers

Which look like this:

Now, I want to align the text within the rounded rectangle both horizontally and vertically. However, it seems I can only do it vertically. If I tap the fifth button below:

alignment issue

That is, "Align horizontal centers", the text will be aligned to the artboard itself and not the rounded rectangle.

1 Answer 1

2

I figured it out: you have to select the layer you want to center and then hold CMD on Mac/ CTRL on Win + click on the target layer.

Both layers should look highlighted:

layers selected

Tapping "Align horizontal centers" will now correctly center the text within the shape and not the artboard.

2
  • Where is "Align horizontal centers"? Jan 5, 2022 at 20:42
  • I honestly can't remember :) It's been 3 years. But FWIW, I now use and recommend Figma instead of Photoshop. It's much more lightweight and gets the job done more quickly. Jan 5, 2022 at 21:11

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.