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

Indesign problem: stroke on box and paragraph rules

Explorer ,
Apr 04, 2025 Apr 04, 2025

Hi everyone, I'm asking for help with a problem involving a text box with a stroke and inside I have text with paragraph lines in Indesign.
The problem is that the paragraph line is below the edge of the text box, and not above as I would like.

If I apply a fill to the text box, the paragraph line covers it, but the same thing doesn't happen for the text box line.

Basically I would like the paragraph line to cover the text box line, and avoid using two objects, like a text box and a rectangle.
Can anyone help me?

TOPICS
How to
2.2K
Translate
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

Explorer , Apr 05, 2025 Apr 05, 2025

Maybe I found a solution, maybe not so scientific...
I hope it can help someone. If someone knows a better method, I appreciate it.


I don't know how good it is but for now it seems to work.
I assign a blending mode of overlap to the text box, or rather to the text box stroke. In this case, the paragraph rule is not hidden by the text box stroke

Translate
Community Expert , Apr 07, 2025 Apr 07, 2025

Hi @Alex32252670s8p0 

See my sample_2 file.

I used 2 (threaded) frames. The the title frame is above the text frame and it hides the top text frame stroke, and the 2 frames are grouped. Using this alternative method avoids you to use paragraph borders on the body text.

 

Translate
Community Expert ,
Apr 04, 2025 Apr 04, 2025

A screen shot would help clarify what you want to do...

Translate
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 ,
Apr 04, 2025 Apr 04, 2025

This is an example. On the left is what I would like, on the right is w hat actually happens.

Cattura.JPG

Translate
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 ,
Apr 05, 2025 Apr 05, 2025

Maybe I found a solution, maybe not so scientific...
I hope it can help someone. If someone knows a better method, I appreciate it.


I don't know how good it is but for now it seems to work.
I assign a blending mode of overlap to the text box, or rather to the text box stroke. In this case, the paragraph rule is not hidden by the text box stroke

Translate
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 ,
Apr 05, 2025 Apr 05, 2025

Hi @Alex32252670s8p0 

You can get what you want using paragraph borders for the body text and paragraph rules for the title. Have a look to my sample file.

Capture d’écran 2025-04-05 à 14.01.20.png

Translate
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 ,
Apr 05, 2025 Apr 05, 2025

Hi, your solution is great, but I would like to preserve the borders and paragraph shadows for something else.

Anyway, now we have two very good solutions.
Have you tried my idea?

 

Translate
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 ,
Apr 05, 2025 Apr 05, 2025

Hi Alex @Alex32252670s8p0 ,

how about using an anchored text frame?

 

See some screenshots from my German InDesign:

Bildschirmfoto 2025-04-05 um 16.00.38.png

Bildschirmfoto 2025-04-05 um 15.59.56.png

 

 

Regards,
Uwe Laubender
( Adobe Community Expert )

Translate
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 ,
Apr 05, 2025 Apr 05, 2025

Thanks Uwe Laubender, but I don’t like using multiple text boxes in my workflow. Yes, in some cases I am forced to, but in this specific case I would like to find a solution with just one box.

Translate
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 ,
Apr 05, 2025 Apr 05, 2025

Jmlevy, i tried your file, I attach it again with a change, added my solution and gave it a try.
My solution, that is, changing the blending mode to the box stroke, only works when the background is white.
Your solution is more versatile and much better.

I wonder if there really is no other way around this problem.

In the file you will find the various paragraph styles divided into groups (one with your name and one with mine) and an object style with my name.

Thanks again for your patience.

Translate
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 ,
Apr 05, 2025 Apr 05, 2025

My solution, that is, changing the blending mode to the box stroke, only works when the background is white

Yes, that's the limit of your solution.

 

It seems that the file you have attached is blocked by the antivirus forum system.

Translate
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 ,
Apr 05, 2025 Apr 05, 2025

Strange...as far as I know I don't have any viruses on my computer. We'll find out soon. For now your solution is the most valid, even if it requires some operations to add borders to the paragraphs.

Thanks again. I always hope that some other reader will give us alternative solutions

Translate
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 ,
Apr 05, 2025 Apr 05, 2025

The virus thing isn't you, it's the forum, whcih checks all incoming attacments, and seems to get stuck a lot.

Translate
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 ,
Apr 05, 2025 Apr 05, 2025

I try to attach some images.
The first one shows jmlevy's solution and mine, using only one text box for each.
I often work with a single box, and insert multiple paragraph styles inside it (for example in menus).
The second image shows my solution seen up close, I changed the blending mode of the text box's stroke.
The third image shows another detail, and you can see how my solution doesn't work when there is a colored background. In some cases it is less noticeable, but if the result is this, then my solution is not always valid.
The jmlevy one, on the other hand, is perfect and adapts without problems.

 

 

 

   

Translate
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 ,
Apr 05, 2025 Apr 05, 2025

1.JPG

2.JPG

3.JPG

   

Translate
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 ,
Apr 06, 2025 Apr 06, 2025

I used TOP (Type On Path), baseline shift, then an extra tall underline for the background.

T selected to show the baseline shift.

DirkBecker_0-1743948604712.png

 

Translate
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 ,
Apr 06, 2025 Apr 06, 2025

Hi Dirk...thanks to you too. I just tried your solution, but it's not very comfortable. My intent is to have a single text box where I can apply multiple paragraph styles to texts. A single box also allows me to quickly select text.
jmlevy's proposal is the one that comes closest to what I was looking for

Translate
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 Beginner ,
Apr 06, 2025 Apr 06, 2025

Not sure if I understand the issue correctly, but at a glance from your "expectation vs. reality" image, you'd simply open Layers panel, and move the pink rectangle shape and the TITLE text box to their own layer, then move that layer down in the list so it's below (further down the list) than the big text box with the stroke border. In Layers, up is "in front" visually in your layout, and below is behind.

Translate
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 ,
Apr 06, 2025 Apr 06, 2025

Hi beno41599860, the thing is I have only one text box, so I can't move elements up or down. When I have text I prefer to have only one box for practical reasons (and maybe also for personal whim) 

Translate
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 ,
Apr 07, 2025 Apr 07, 2025
LATEST

Hi @Alex32252670s8p0 

See my sample_2 file.

I used 2 (threaded) frames. The the title frame is above the text frame and it hides the top text frame stroke, and the 2 frames are grouped. Using this alternative method avoids you to use paragraph borders on the body text.

 

Translate
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