Support » Themes and Templates » [Theme: Suffusion] Extra white space in pages

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

    (@anevins)

    Forum moderator

    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.

    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.

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    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;
    }

    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?

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    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

    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.