Viewing 5 replies - 1 through 5 (of 5 total)
  • Your theme is probably adding default margin to the paragraph tag <p>. You’ll need to add some CSS to remove it from the last paragraph tag.

    p > :last-child { margin-bottom: 0 !important; }

    You don’t want to change it for all paragraphs or you will end up with no spacing between paragraphs. This limits it to the last one only.

    Thread Starter ikbenfrank

    (@ikbenfrank)

    Hi Carvierlife,

    Thank you for your response. Where exactly do it the code? I am not really familiar with the coding aspect.

    Best,

    Frank

    WordPress automatically gives you a place to add CSS code, whether or not you use Elementor. Go to Appearance > Customize > Additional CSS and paste that there.

    Thread Starter ikbenfrank

    (@ikbenfrank)

    Hi Cavalierlife,

    I tried to add the code but nothing is happening.

    Just to be sure if i am clear with my question. If you look at the screenshot which i have added in my first post you see the textbox with the text ‘Van de drie I-phones die in 2018 zijn gelanceerd”. if you look underneath the text there is quite a big gab with the section underneath it. I want to remove the gap so that the text is closer to next section with ”voordelen” en ‘nadelen”

    Ok, inspecting the code on the page, I see this:

    p, .entry-content p {
        margin-bottom: 5em;
    }

    That is your theme adding a large gap after each paragraph. So try this instead:

    p > :last-child { margin-bottom: 0 !important; }
    .entry-content p > :last-child { margin-bottom: 0 !important; }

    If that doesn’t work, please contact your theme’s support for help in dealing with this, as it is your theme adding this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘issue with Space of paragraphs’ is closed to new replies.