• Resolved jnos

    (@jnos)


    Hello,
    I am building a content page on my website to publish articles. My theme (Fluxus) offers the possibility to put asides, which in this case are the captions of the photos in the page content.
    Unfortunately, all the text below the aside text (in this case, below the image with the caption), appears to inherit the text formatting of the aside, like here:

    https://www.postphotography.eu/articles/young-miners-donbass/

    As you can see, the text after the second image has less line spacing than the text below. If I remove the caption, the line spacing is restored.

    Any idea why this might be and what I can do about it.

    Thank you very much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • It’s because some of your paragraphs aren’t within <p> tags, so the line-height of 1.875em isn’t being applied.

    Your content structure is made up of <br /> tags too, which can give inconsistant results.

    Hope this helps.

    Thread Starter jnos

    (@jnos)

    thanks a lot, I solved it!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘text formatting in page content’ is closed to new replies.