Advertisement


How do you make a justified background color for a paragraph style in InDesign?


Question

In InDesign if I have a paragraph style and every time I use that style I want a "colored" box behind it justified to the column width. How would you suggest doing this? Currently it's been done manually with predefined "boxes" for 1-Line, 2-Line & 3-Line depending on how long the heading is. There has got to be a way to automate this though. Perhaps using some sort of programmatic style sheet?

All I could find was this "Highlighting an Entire Paragraph with Color" which wouldn't work because the headings are centered but we want the background color to be the full column width.

Ideally, with a dynamic "height" so that it can be say 4pt above and below the text as well. Almost like padding would be if I were doing this on a website.

2014/06/30
1
4
6/30/2014 1:23:00 PM

Accepted Answer

As of InDesign CC2015 a new feature was released called Paragraph Shading to address this very topic.

For basic usage you can click the Shading button on your Paragraph Formatting area:

Paragraph Shading

You can also have some control over this through Paragraph Styles:

Paragraph Shading Controls

2015/10/06
4
10/6/2015 2:49:00 PM

I think the best way of doing so is coloring the text box, set the paddings and then create an object style. In the object style you can configure the default paragraph style to use.

2014/06/30