WordPress.org Plugin Mirror
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 10 commits ahead of wp-plugins:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
index.php
readme.txt

README.md

Hide Featured Image with jQuery

About

When you hide a featured image with CSS, the article text gets pushed to the top of the article. This happens because the bottom margin of the featured image usually acts as the top padding of the article. To prevent this from happening, I use jQuery to set the featured image height to 0. The featured image is not visible, but its bottom margin acts as the top padding of the article.