• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Adding padding and rounded corners to text

Participant ,
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

2.2K

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

Community Expert , 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.)

 

fr.png

 

~Barb

 

 

Votes

Translate

Translate
Community Expert , 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?
  • Should t
...

Votes

Translate

Translate
Community Expert ,
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

 

 

Votes

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
Participant ,
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

Votes

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
Community Expert ,
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...

 

 

Votes

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
Community Expert ,
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 

Votes

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
Community Expert ,
Mar 18, 2021 Mar 18, 2021

Copy link to clipboard

Copied

Have a look at Object Styles.

Votes

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
Mentor ,
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

Votes

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
Participant ,
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 🙂

Votes

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
Community Expert ,
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.

 

 

 

Votes

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
Community Expert ,
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?

 

 

Votes

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