karloy
Member
Posted 11 months 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/
karloy
Member
Posted 11 months ago #
I turned it off, since it was really inconsistant. Any guidance would be great..
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
karloy
Member
Posted 11 months ago #
Thanks - it's turned back on!
Thanks, is this happening in a specific browser at all? Can't replicate it yet at my end.
karloy
Member
Posted 11 months 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.
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.
karloy
Member
Posted 11 months ago #
Thanks, that would be amazing! Is there maybe something I could quickly edit in the plugin source to patch it for now?
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.
karloy
Member
Posted 11 months ago #
Great, thanks! That works great.
karloy
Member
Posted 11 months ago #
On another note, the linked social media button doesn't seem to show up in the float bar
Have you got lazy load on for LinkedIn? If so can you try disabling it?
Thanks
karloy
Member
Posted 11 months ago #
Yes, it was on - i turned if off, same issue though.
tsheridan
Member
Posted 8 months 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!