WordPress.org

Forums

Jetpack by WordPress.com
[resolved] Jetpack & Footer (5 posts)

  1. mintertweed
    Member
    Posted 1 year ago #

    I finally decided to give Jetpack a try and I've not been disappointed. But there's one little problem that I hope you people can help me with concerning a WordPress install and Jetpack.

    Basically, when I activate "WordPress.com Stats" within Jetpack, my website appears normal until I log out. Once I'm not logged into my website, I notice that my footer is cut short. It keeps all the functionality of a sticky footer, but it's raised 24 pixels from the base of the site. I know it's "WordPress.com Stats" because I systematically went through each Jetpack plugin and deactivated it until my footer went back to normal.

    Any suggestions? I'd like to keep stats on my site through WordPress, but I also want my website to appear as intended. Thank you in advance!

    Here's my website if you want to see what's going on with it.

    http://wordpress.org/plugins/jetpack/

  2. mintertweed
    Member
    Posted 1 year ago #

    The people over at CSS-Tricks helped me out with this one. Basically, you need to target the image tag from WordPress.com Stats, like so:

    img#wpstats {
    	display : none !important;
    	visibility : hidden;
    }

    Otherwise, it adds this tiny, itty-bitty smiley face at the base of your website, pushing the footer up. Hopefully this helps those who didn't see the smiley face. I sure didn't until someone pointed it out.

  3. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Glad you worked this out. Normally the smiley face (used by the stats) doesn't affect the site's layout. Can you point me to the thread you wrote in?

  4. mintertweed
    Member
    Posted 1 year ago #

    Here ya go: CSS-Tricks Forum. It's a really good site for HTML/CSS/jQuery questions.

  5. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Thanks! Another solution would be to click on "Configure" under the Stats module in the Jetpack menu: you will find an option to hide the Stats smiley there.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Jetpack by WordPress.com
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic