Skip to main content
Hosun
Inspiring
March 20, 2023
Beantwortet

How to add a blue bar in InDesign?

  • March 20, 2023
  • 1 Antwort
  • 1265 Ansichten

Hi,

 

Is there any way to add a blue bar as seen in Screenshot 2?

 

Hosun


Screenshot 1

Screenshot 2

<Title renamed by moderator>

Dieses Thema wurde für Antworten geschlossen.
Beste Antwort von James Gifford—NitroPress

[Screenshot 1]

On Id, the blue bar is continuous.

 

[Screenshot 2]

On EPUB, the blue bar is discontinued.

 

To make the blue bar continuous on EPUB, is setting space after to zero the only way?

 


I'd have to look at some code, but I am not sure there's any way to fix that other than eliminating spacing between the paragraphs, and possibly using a null paragraph style to implement the spacing. It's a case where the special way ID handles the continuous border is not translated into HTML.

 

ETA: What might work is, at the CSS level, replace top and bottom spacing with padding instead of margin.

 

1 Antwort

Peter Spier
Community Expert
Community Expert
March 20, 2023

Check out the options for Paragraph Border in your paragraph style definition dialog.

James Gifford—NitroPress
Legend
March 20, 2023

...and make sure that "Merge Consecutive Borders" is checked at the bottom. This can be a little fussy in that sequential paragraphs — which may be of different styles — must have identical border (or rule, or shading) definitions for that style to merge across them. Very slight variations will cause the borders etc. to separate.

 

Hosun
HosunAutor
Inspiring
March 20, 2023

[Screenshot 1]

On Id, the blue bar is continuous.

 

[Screenshot 2]

On EPUB, the blue bar is discontinued.

 

To make the blue bar continuous on EPUB, is setting space after to zero the only way?