Social Media share icons for product pages - Dawn Theme

Topic summary

A user wants to customize social media share icons on their Dawn theme product pages with two specific requirements:

Current Issues:

  • Share button is left-aligned instead of centered
  • Displays three icons but only Facebook and Pinterest are needed

Desired Outcome:

  • Replace the generic “share button” with individual Facebook and Pinterest icons
  • Center the icons on the screen
  • Match the styling from a reference website example

Solutions Offered:

Centering Fix: One responder provided CSS code to center the share button by adding flexbox styling to the theme’s CSS file (base.css, style.css, or theme.css):

#share-button--template-1620916011090_main {
  display: flex;
  justify-content: center;
}

Icon Customization: Another responder shared a video tutorial link for updating the theme to achieve the custom icon appearance.

The discussion remains ongoing as the user clarifies they want to replace the default share button entirely with individual social media icons rather than just styling the existing button.

Summarized with AI on November 11. AI used: claude-sonnet-4-5-20250929.

I would like my share button to look like the example that I’ve provided, and I would also like it to be centered on the screen instead of the left position that its currently in. And I only need the Facebook and Pinterest symbol to show, not the one in the middle. Any coding or recommendations is greatly appreciated.

Web capture_3-11-2023_132222_blissy.com.jpeg

1 Like

Hi @Anonymous

Try this one.

  • From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  • Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  • In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
share-button#Share-template--19026101109009__main {
    display: flex;
    justify-content: center;
}

Regarding the social media icon. Where can i find this in your store?

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

The social media icon photo that I provided was from another website that I found. instead of the “share button” I would like to replace it with the Facebook and Pinterest buttons instead.

Web capture_3-11-2023_132222_blissy.com.jpeg

1 Like

Hi @Anonymous ,

You can update the theme using below video instructions.

Let me know if its help…