WordPress.org

Ready to get started?Download WordPress

Forums

Cookies for Comments
Broken Footers and stripes of whitespace (3 posts)

  1. Tom J Nowell
    Member
    Posted 2 years ago #

    If a theme has put a css rule giving images a margin, and has a footer that meets the bottom of the page, this plugin results in a large stripe along the bottom of the page where the margin of the image used by this plugin extends beyond the footer.

    Placing a css rules inline of margin:0 !important; will fix this.

    http://wordpress.org/extend/plugins/cookies-for-comments/

  2. htrex
    Member
    Posted 1 year ago #

    It doesn't do the trick for me, needed to add:
    display: none

  3. Aahan Krish
    Member
    Posted 1 year ago #

    Although I am not really sure, I don't think using display: none; is a good idea. It is said that some browsers (Firefox?) simply don't load images that are hidden using display: none;. Again, I am not sure.

    So, I had to think a bit, and finally decided to go with this:

    body > img {
        position: absolute;
        top: -1px;
    }

    Reason(s): The image is not really an image, so it really can't be seen. But it takes 1px area, where it's positioned. So, I see no reason why the CSS code I used (as shown above) would be a bad choice.

    But I am free to suggestions. So, please feel free to share what worked for you. :^)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic