Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Adding padding and rounded corners to text

Explorer ,
Mar 18, 2021 Mar 18, 2021

Copy link to clipboard

Copied

Hi there,

 

Is it possible to add padding, background and rounded borders to text automatically?

 

Something like this:

toolman123_0-1616104890844.png

 

The above image was done with a shape behind text, but wondered if it can be done with just a text box?

 

Thanks

TOPICS
Type

Views

212

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Adobe Community Professional , Mar 18, 2021 Mar 18, 2021
Sure. Select the text frame and add the background color as for any other frame. Use Type > Text Frame Options to adjust the vertical justification—I chose Center—and adjust the corners with Object > Corner Options. (Or play with the little yellow square under the outport—it does the same thing.) ~Barb

Likes

Translate

Translate
Adobe Community Professional , Mar 19, 2021 Mar 19, 2021
I know what you finally want. And there are a few possibilities to do that. Some of them are already mentioned: text frame options (with object style) character style (with underline) You can also use: paragraph rule (in paragraph style) paragraph shading (in paragraph style) But we do not know what are your requirements. And that's why we cannot say which method is the best for you. Should the text frame always have the same size? Should the text always changing it's contents? Sho...

Likes

Translate

Translate
Adobe Community Professional ,
Mar 18, 2021 Mar 18, 2021

Copy link to clipboard

Copied

Sure. Select the text frame and add the background color as for any other frame.

 

Use Type > Text Frame Options to adjust the vertical justification—I chose Center—and adjust the corners with Object > Corner Options. (Or play with the little yellow square under the outport—it does the same thing.)

 

fr.png

 

~Barb

 

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 19, 2021 Mar 19, 2021

Copy link to clipboard

Copied

Thank you 🙂

 

I now have this:

toolman123_0-1616147959131.png

 

 

Is there an easy way to vertically center the text inside it's box with the background?

 

Thanks

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Mar 19, 2021 Mar 19, 2021

Copy link to clipboard

Copied

Yes that will happen - you need to go to the Text Frame Options

As pointed out already - use Object Styles

https://helpx.adobe.com/ie/indesign/user-guide.html/ie/indesign/using/object-styles.ug.html#object_s...

 

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Mar 19, 2021 Mar 19, 2021

Copy link to clipboard

Copied

LATEST

"Use Type > Text Frame Options to adjust the vertical justification—I chose Center."

 

~Barb 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Mar 18, 2021 Mar 18, 2021

Copy link to clipboard

Copied

Have a look at Object Styles.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Mar 19, 2021 Mar 19, 2021

Copy link to clipboard

Copied

What about any text (not a frame)? 

Character style with underline. Stroke style with rounded corner for underline settings, and few spaces before and after text.

 

2021-03-19_14-21-33.png

Remember, never say you can't do something in InDesign, it's always just a question of finding the right workaround to get the job done. © David Blatner

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 19, 2021 Mar 19, 2021

Copy link to clipboard

Copied

Thanks. 

 

I have found that I need to use the Advanced > baseline shift with a -3.5px value 🙂

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Mar 19, 2021 Mar 19, 2021

Copy link to clipboard

Copied

I know what you finally want. And there are a few possibilities to do that.

Some of them are already mentioned:

  • text frame options (with object style)
  • character style (with underline)

 

You can also use:

  • paragraph rule (in paragraph style)
  • paragraph shading (in paragraph style)

 

But we do not know what are your requirements. And that's why we cannot say which method is the best for you.

  • Should the text frame always have the same size?
  • Should the text always changing it's contents?
  • Should the "colored area" always follows the changed text?
  • Are there always "one liner texts"?
  • and so on …

 

Here is an example of paragraph shading (color "follows" the text) :

Absatzrahmen_text-shading_01.png

 

live changing after text was edited:

Absatzrahmen_text-shading_02.png

Please answer my previous questions - so that we can really help you.

 

 

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Mar 19, 2021 Mar 19, 2021

Copy link to clipboard

Copied

It seems he wants to build something like this (his other thread) :

Best practice for the following text boxes/labels/tags?

 

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines