Sharing buttons of the current page (for blog)

I’d like to add sharing buttons to each blog post, right under the title. I got these. Facebook works. Twitter doesn’t and linkedin breakes the layout for some reason. Any ideas?

<a class=“w-inline-block social-share-btn tw” href=“” target=“_blank” title=“Tweet” onclick="‘’ + encodeURIComponent(document.title) + ':%20 ’ + encodeURIComponent(document.URL)); return false;”>

<a class=“w-inline-block social-share-btn linkedin” href=“LinkedIn Login, Sign in | LinkedIn” target=“_blank” title=“Share on LinkedIn” onclick="‘LinkedIn Login, Sign in | LinkedIn’ + encodeURIComponent(document.URL) + ‘&title=’ + encodeURIComponent(document.title)); return false;”>

You can embed code from something like

also, here is how to embed code to your Webflow site:

hope this helps :slight_smile:

Hey @LupoAsaf

In addition to Nelson’s input above, see this helpful thread by @sabanna if you do not cringe at the sight of custom code :grimacing: ;


Yeah, apparently my problem was assigning design directly to the HTML element instead of creating a separate element with the classes w-inline-block, social-share-btn and the social network name and design them.
Now everything works perfectly.