WordPress.org

Ready to get started?Download WordPress

Forums

Sharebar
Here's how to adjust the vertical margin (4 posts)

  1. hausjell
    Member
    Posted 1 year ago #

    Not sure if this has been posted but I have a floating header bar and Sharebar didn't see that (most likely my own css), if you have a similar problem then open sharebar.js and on line 43 change:

    jQuery(sharebar).css('top',((p+10)>start) ? '10px' : '');

    to

    jQuery(sharebar).css('top',((p+10)>start) ? 'XXpx' : '');

    XXpx is your custom value. So if you want the bar to float an extra 20px from the top change the value to 30px.

    http://wordpress.org/extend/plugins/sharebar/

  2. hausjell
    Member
    Posted 1 year ago #

    Oh, here is the example - http://www.epicy.com, click on a post and you will see it working.

  3. evo252
    Member
    Posted 1 year ago #

    Thank you very much @hausjell, your tip helped me !

  4. himanshu88
    Member
    Posted 1 year ago #

    Hausjell can you help me with this.
    I want adjust the sharebar fade in/appearing .
    For now, it comes after we scroll past the header/title of post. I want it to appear just after a little scroll or without scrolling it.

    Can this be done. Please tell me.

    Thanks for your earlier post.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.