Support » Developing with WordPress » paragraph before/after space

  • hello,
    would there be a way (standard parameter, plugin ?) to customize the space before/after paragraph and headings, once for all the pages ?

    thanks a lot !

Viewing 4 replies - 1 through 4 (of 4 total)
  • would there be a way… to customize the space before/after paragraph and headings, once for all the pages ?

    That can easily be done with a few lines of CSS code placed in APPEARANCE => CUSTOMIZE => ADDITIONAL CSS. But we’ll need to examine your site’s code first before we can give you CSS code that’s guaranteed to work.

    Can you give a link to a representative page on your site?

    Thread Starter raf58

    (@raf58)

    that would be great from you !

    http://asianipsti.cluster011.ovh.net/www1a20210425/ is the site under dev

    Moderator bcworkz

    (@bcworkz)

    This is specific to all H2 headings, unless more specific CSS selectors are applied in places. As George said, add to Additional CSS:

    h2 {
        margin-bottom: 5rem;
    }

    I exaggerated the space so it’s clear this rule is being applied. Adjust the 5 as desired. You can preview the effect of specific numbers by editing this rule in your browser’s element inspector tool. The change in the tool will not persist. You need to edit Additional CSS for persistence.

    Thread Starter raf58

    (@raf58)

    merci !!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.