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.
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.