Home>Support>How to change spacing between certain paragraphs?

How to change spacing between certain paragraphs?

I’d like to change the spacing between certain but not all paragraphs in some of my posts. For example in the linked article I’d like to increase the spacing without doubling the existing spacing between the first image and the first line of text and decrease the spacing without halving the existing spacing between the last line of text before the heading “Anti-Spam” and the heading itself. All of the info I’ve been able to find deals only with changing the spacing between all paragraphs, which is what I don’t want to do.

Many thanks in advance for your help.

URL: http://thecontentbloke.com/wordpress-plugins-use-love/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 3 days ago Andrew Misplon
    Hi, I Work Here

    Hi Robert

    A manual way of doing this might be to give the paragraphs you want to increase line height on, a class name:

    <p class="lineheight-plus">
    Content.
    
    
    

    And then match that with some CSS under Appearance > Custom CSS:

    .lineheight-plus {
    line-height: 32px;
    }
    

    Let me know if that’ll work for you.

  2. 9 years, 11 months ago Robert Traynor

    Thank you for the great solution!

  3. 9 years, 11 months ago Andrew Misplon
    Hi, I Work Here

    For sure. Glad that helped.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More