• Hello.

    Check: http://www.elcontexto.org/the-euro-crisis-as-explained-by-bloomberg/

    Basically, Twitter boxes appear relatively late in the generation of the page. This means when the Twitter box appears (which is ~50px larger than the text before it) it pushes down the paragraphs, and thus messes up the alignment between paragraphs and comments 🙂

    Anybody an idea how to solve this?

    Best, Marc

    https://wordpress.org/plugins/inline-comments/

    EDIT: I didn’t resolve it in the plugin, but a workable workaround. I basically CSS styled the temporary quote-like box wordpress puts in place, identified by the class “twitter-tweet-error”, in such a way as to be as big as the eventual twitter box: that means, giving it a margin-bottom of 104px.

    In your style.css add:

    .twitter-tweet-error {
    margin-bottom:104px;
    }

    This is, of course, a quick and dirty workaround. But better than nothing 😉

Viewing 1 replies (of 1 total)
  • Thread Starter marcchehab

    (@marcchehab)

    Short update. An update delays when “.twitter-tweet-error” is applied. Now I use “blockquote.twitter-tweet” instead. Works just as well.

    .blockquote.twitter-tweet {
    margin-bottom:104px;
    }

Viewing 1 replies (of 1 total)

The topic ‘[workaround] Twitter displaces all comments’ is closed to new replies.