I need some help regarding how to create custom share buttons. It seems webflow use this a lot but do not have a tutorial. Also it seems to be a very popular question on the forum but it has never been answered. I have read though all the blogs but I have had no joy.
Yes I have tried this but have had no joy. This still didn’t work unfortunately.
I am waiting to publish a design and it cannot be until it is done. Very annoying.
Can you please describe the issue in greater detail? I am not clear what issue you are experiencing since I don’t know the end result you want nor can I access the project for review.
I am not sure where you are having an issue. For further help you would need to share your Read-Only project link and page where the implementation does not work for you.
If you look at the demo code provided In the topic I shared, you need to place a element between the anchor tag (something to click). So that would need to exist in the HTML embed.
FB Example
<a class="w-inline-block social-share-btn fb" href="https://www.facebook.com/sharer/sharer.php?u=&t=" title="Share on Facebook" target="_blank" onclick="window.open('https://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent(document.URL) + '&t=' + encodeURIComponent(document.URL)); return false;">
Your linked image element goes here. An SVG for example.
</a>