How to Install ShareThis’ Tools on Webflow

Note: If you have a free Webflow plan, ShareThis tools unfortunately will not work on your website since the custom code feature is locked. 

In order for ShareThis tools to work on your Webflow website, follow the steps below to add your unique ShareThis code to the <head> section of your website: 

Adding ShareThis Tools in All Pages

  1. Log in or Sign up to the ShareThis Platform.
  2. Select the ShareThis tool you would like to use and activate it by clicking the Enable tool button.
  3. Then, customize the buttons by selecting your social channels, size, shape, as well as extras such as the minimum number of shares you wish to have before showing counts.
  4. Select the Activate Code button in the top right corner. In the pop-up, click the Copy code button.
  5. Log in to Webflow’s website.
  6. On your Projects Dashboard, select the three dots icon from the project you want your buttons on, and click Settings.
  7. Within Project Settings, go to the Custom Code section.
  8. Paste the unique ShareThis code that you copied from step 4 and click Publish.

Adding ShareThis Tools in Specific pages

  1. Log in or Sign up to the ShareThis Platform.
  2. Select the ShareThis tool you would like to use and activate it by clicking the Enable tool button.
  3. Then, customize the buttons by selecting your social channels, size, shape, as well as extras such as the minimum number of shares you wish to have before showing counts.
  4. Select the Activate Code button in the top right corner. In the pop-up, click the Copy code button.
  5. Log in to your Webflow website.
  6. Open your website in design mode, select Pages from the left sidebar, then select Edit Page Settings from the specific page you want your buttons to be on.
  7. Within Page Settings, scroll down to the Custom Code section.
  8. Paste the unique ShareThis code that you copied from step 4 and click Publish.

Adding Inline ShareThis tools

Inline tools require an extra snippet of code to work on your site. If you would like to install our Inline Share Buttons, Follow Buttons, Reaction Buttons, or Social Feed tools on your website, you will need to add placement code wherever you want the tool to appear.

  1. In your ShareThis Platform, select the ShareThis tool you want to use and copy the placement code. Depending on the tool you are installing, the code should look similar to this: <div class="sharethis-inline-share-buttons"></div>
  2. In the design mode of your Webflow website, go to the Page where you want your buttons to appear.
  3. From the left sidebar select Add and search for the Embed option, then drag it to where you want the buttons to appear.
  4. In the new HTML Embed Code Editor window, paste the unique ShareThis code that you copied from Step 1.
  5. Click Save & Close.
  6. Click Publish.

Notes:

  • The ShareThis tools may not appear on the backend of your website so you may need to visit your published website in order to view them.
  • Webflow tends to embed the buttons in Flex containers, which could limit the display of some content, especially the last button.
    One way to fix this without changing the display of the parent container from flex to inline-block is to set fixed value for the buttons’ width.

    To do this, click on the buttons themselves and on the Webflow Editor, set their Width to a value larger than what it is right now (if this only happens on mobile screens, you apply the same principle, but change the mobile breakpoint at the top of the Webflow Editor to Mobile screens/Tablets):
The width field of the buttons is set to 180 on the Webflow Editor, other values aren't modified.