Gallery 3: Captions with Line Breaks

Hi there. I would like to create captions with a title followed by 3-4 lines:

  • Title Line (preferably in bold)
  • Line 2
  • Line 3
  • Line 4

I am currently entering info into the alt field but cannot figure a way to force line breaks. Also, I tried entering the info w/line breaks into the images in the Mac Photos app and then exporting the images. However, the captions disappeared after adding the image to the Gallery 3 stack.

Any guidance/help would be much appreciated. Many thanks!

Hi @Stephen

Ask Will Woodgate at Stacks4stacks (he’s the developer of this stack) directly, he’ll help you.

ADD: oops really sorry, I read too quickly and think about another Stack, really sorry, apologize.

No, he isn’t.

This most probably isn’t possible. There are plenty off places where these special html characters might be encoded. In addition, it really depends on the selected lightbox if this is possible. I would start with a simple <b>test</b> to see if you get a bold text.

Hi @Jannis

I apologize, I read too quickly and thought of another Stack. I am truly sorry for the confusion.

1 Like

The code for bolding works fine, TY!

1 Like

Than you could continue trying with using <ul> and <li> tags. Good luck!

Ended up using br tags, which worked fine, as I didn’t need a bulleted list.
Thanks again for your help!

2 Likes

Nice!

For my notes, which lightbox are you using?

“Magnific Popup”

1 Like