Support » Plugin: Simple Drop Cap » Adjust line height for paragraph with drop cap

  • When the automatic drop cap is enabled, the line height of the paragraph containing the drop cap is changed. I have tried adjusting the line height in the custom CSS box, but that only affects the letter that is drop capped, not the rest of the paragraph.

    How can I prevent the line height of the entire paragraph from being affected?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mauris

    (@maurisrx)

    From the page I see the paragraph that has the drop cap is put outside of the <p> tag. What happens if the drop cap is set manually using the shortcode?

    Whether I use the automation or manual shortcode method, this is the output:

    <section class="post-content"><span class="wpsdc-drop-cap">H</span>ello there, and thank you for tuning into the WTF Weather Station, where we pride ourselves on bringing you the most up-to-date, super general, and often terrifying forecasts. Let’s go ahead and take a gander at your upcoming week, shall we?</p>

    If I turn off Simple Drop Cap, this is the output:

    <section class="post-content"><p>Hello there, and thank you for tuning into the WTF Weather Station, where we pride ourselves on bringing you the most up-to-date, super general, and often terrifying forecasts. Let’s go ahead and take a gander at your upcoming week, shall we?</p>

    The issue seems to be that the plugin somehow prevents the opening paragraph tag <p> from being included…

    Plugin Author Mauris

    (@maurisrx)

    Can you temporarily switch the theme to default WP theme such as twentysixteen? Is the paragraph still output outside the <p> tag? I guess it might be a theme conflict.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adjust line height for paragraph with drop cap’ is closed to new replies.