is now part of CreativePro.com!

Putting Headings in Rounded Rectangle Background “Frames”

2

S.G. wrote:

The mission: devise a way to make a heading appear in a filled rounded bar or rectangle without creating a separate text box.

Well, there’s good news and bad news, S.G. First, the good news: it can be done. You already know the trick of making a headline behind a paragraph using paragraph rules (just use a really thick Rule Below and change the Offset value). And you may even know how to create a cool highlighter effect or how to create a background color or tint behind a whole paragraph using a custom underline or anchored frame.

But here’s how to kind of mix it all up and get the effect you want: Create a Rule Above or a Rule Below that is thick, with a negative offset, and — if you want it to hang out in the margin a little — uses a negative Left Indent. Most importantly, you choose one of the dot stroke styles from the Type popup menu and choose the same color for the stroke and gap.

Rounded paragraph rules

Here’s what it looks like when you apply this to your heading:

Rounded Heading Background

So that’s a great step forward. But here’s the bad news: It will only work when the heading is a single line. If your heading is two or more lines, then this trick won’t work very well because the ends are rounded, not really rounded rectangles.

On the other hand, if you can finagle those headings into a single-celled table, you might be able to use this trick to create rounded corners on the table. The table cell can grow to any size:

rounded corner table

Other ideas?

David Blatner is the co-founder of the Creative Publishing Network, InDesign Magazine, CreativePro Magazine, and the author or co-author of 15 books, including Real World InDesign. His InDesign videos at LinkedIn Learning (Lynda.com) are among the most watched InDesign training in the world.
You can find more about David at 63p.com

Follow on LinkedIn here
  • RLCS1997 says:

    Use the type tool to draw a text frame. Fill the text frame with text. With the frame selected, go to Object > Text Frame Options. In the Inset Spacing field, enter a value ( like 10 pt). With the Direct Selection tool selected, select the text frame, assign a color, then go to Object > Corner Options.

    To me, this is a much better solution.
    (My previous comment had a couple of typos, here is the revised comment)

  • ?????? says:

    ?????,??????????,?????????????????????????,????????????:????????????????????,?????????,??????,??????,??????????????????,???????????????????????????

  • >
    Notice: We use cookies on our websites to give you a great online experience. If you keep browsing, we'll assume you're ok with this. For more information, see our privacy policy. By closing this banner, you agree to the use of cookies.I AGREENo