• Hi everyone,
    I have tried to remove the white empty space after the content before the footer on the front-page of one of my sites (Theme: Revised) but all in vain. I tried editing the css by introducing a new element:

    #colophon {
      	margin-top: 0px;
    }

    It had no effect, so I edited the footer.php file directly: This line; <footer id="colophon" class="site-footer" role="contentinfo"> into: <footer id="colophon" class="site-footer" role="contentinfo" style="margin-top: 0px;"> but it did no change. This is the site:
    https://doublehope.org

    Any help in setting this right is highly appreciated. Thank you.


    Philip.

Viewing 2 replies - 1 through 2 (of 2 total)
  • HI THERE,

    margin-top:-20px;

    Give negative value to that id ??

    Thread Starter Mato Philip

    (@wakadalaphilip)

    Hi, thanks; but it did not work. I added to the css;

    #colophon {
      margin-top: -20px;
    }

    There was no effect; I went ahead to addit directlyto the footer.php file:

    <footer id="colophon" class="site-footer" role="contentinfo" style="margin-top: -20px;">

    And nothing happened. (on clearing cache both for the site and the browsers, the white space re-surfaces.); this is most common in Opera, though chrome and Mozilla don’t show it much,but they also do sometimes. Any other ideas? I appreciate all help rendered on this matter; thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How can I remove empty space between content and footer’ is closed to new replies.