WordPress.org

Ready to get started?Download WordPress

Forums

Digg Digg
[resolved] Floating bar not consistant y position (14 posts)

  1. karloy
    Member
    Posted 2 years ago #

    I keep having issues with the vertical position of the floating social media bar. 75% of the time is shows up at the right position, but it often also shows up way below the intended position (200 or more pixels off).

    http://www.overdigital.com/2012/06/21/impressive-car-model-ipad-android-air-3-3-stage3d/ (click through different posts to see the difference)

    My guess is it has to do with the featured imagine, and the loading sequence. Is there a way around it?

    Thanks,
    Jens

    http://wordpress.org/extend/plugins/digg-digg/

  2. karloy
    Member
    Posted 2 years ago #

    I turned it off, since it was really inconsistant. Any guidance would be great..

  3. Andrew Yates
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Jens

    If you are able to re-enable the plugin and drop me a note here i'll take a quick look for you.

    Thanks

  4. karloy
    Member
    Posted 2 years ago #

    Thanks - it's turned back on!

  5. Andrew Yates
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks, is this happening in a specific browser at all? Can't replicate it yet at my end.

  6. karloy
    Member
    Posted 2 years ago #

    To add, I thought about modifying the code to display the bar delayed with setTimeout - unfortunately I would need to do this with every update then.

  7. Andrew Yates
    Member
    Plugin Author

    Posted 2 years ago #

    Figured out what the issue is... Digg Digg finds the start of the content (the text of the post). You use a post thumbnail above this which Digg Digg doesn't take into account which is why it is displaying it further below in some cases. The cases where it is fine are when the image hasn't quite loaded yet.

    I'll see if we can move the anchor that Digg Digg uses to the title which would make more sense.

  8. karloy
    Member
    Posted 2 years ago #

    Thanks, that would be amazing! Is there maybe something I could quickly edit in the plugin source to patch it for now?

  9. Andrew Yates
    Member
    Plugin Author

    Posted 2 years ago #

    If you want to fix it by editing the plugin find line 342 of digg-digg.php which reads...
    $dd_start_anchor = '<a id="dd_start"></a>';

    And remove the contents of that so it's just...
    $dd_start_anchor = '';

    Then add the following to your theme files just above the post thumbnail.
    <a id="dd_start"></a>

    Warning: You'll have to do this for each update of Digg Digg while this remains an issue.

  10. karloy
    Member
    Posted 2 years ago #

    Great, thanks! That works great.

  11. karloy
    Member
    Posted 2 years ago #

    On another note, the linked social media button doesn't seem to show up in the float bar

  12. Andrew Yates
    Member
    Plugin Author

    Posted 2 years ago #

    Have you got lazy load on for LinkedIn? If so can you try disabling it?

    Thanks

  13. karloy
    Member
    Posted 2 years ago #

    Yes, it was on - i turned if off, same issue though.

  14. tsheridan
    Member
    Posted 1 year ago #

    I'm not following what this means please -

    Then add the following to your theme files just above the post thumbnail.

    What theme file exactly? And what is a post thumbnail? Some more clarification on this would be really helpful. This is leaving quite a bit of unwanted white space.

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.