Viewing 6 replies - 1 through 6 (of 6 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    An empty paragraph is causing this space.

    <p class="first-para"></p>

    Make sure your pages’ content (in the Dashboard) do not contain any additional space.

    Thread Starter Dong Suzuki

    (@sudongyue)

    Thanks for pointing that out. Andrew. I think I have just got rid of that paragraph, and I also change .non-wp-entry {padding:15px 0 5px}to .non-wp-entry {padding:0px 0 5px}The space shrinks but still there is quite a margin.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    If you have no use for the paragraph classed, “first-para” you can hide it with CSS, as this is still causing the margin.

    E.g

    p.first-para {
     display: none;
    }

    Thread Starter Dong Suzuki

    (@sudongyue)

    That is helpful but I lose all my first paragraphs of my post entries. Is there a code to hide the first paragraph just for this page only?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Yes, you can identify only that page by using the <body> class which depicts the page id number.
    E.g

    .page-id-221 p.first-para

    Thread Starter Dong Suzuki

    (@sudongyue)

    That is great. Now it is looking much better. Thank you so much!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Theme: Suffusion] Extra white space in pages’ is closed to new replies.