WordPress theme TwentyFourteen interfere with AddThis Welcome Bar

The AddThis welcome bar will make a empty gap on top of the WordPress webpage with the TwentyFourteen wordpress theme. Is there a fix for it?

asked Mar 7, 2014 by Eric Z Ma (44,280 points)

1 Answer

Best answer

You will find AddThis will add this div to the webpage:

<div class="addthis_bar_placeholder" style="height: 46px;"></div>

which cause the problem.

A little trick that works is to set that div's positions attribute to absolute to avoid it taking the space. To achieve this, add this piece of css to the theme or via WP-insert plugins or other mechanisms:

<style type="css/text">
.addthis_bar_placeholder {position:absolute;height:0;}
answered Mar 7, 2014 by Eric Z Ma (44,280 points)

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost