# Share buttons on the post page

**URL:** <https://forum.ghost.org/t/share-buttons-on-the-post-page/27594>\
**Category:** Using Ghost\
**Created:** [December 28, 2021, 4:45pm UTC](https://forum.ghost.org/t/share-buttons-on-the-post-page/27594 "2021-12-28T16:45:44Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [July 13, 2023, 2:51pm UTC](https://forum.ghost.org/t/share-buttons-on-the-post-page/27594/13 "2023-07-13T14:51:08Z")

</div>

Is it possible you need to load the font awesome still, @Zavrod ? See step #2 in @The_Jetsetter_Cheap 's excellent tutorial.

If that’s not it, this is almost certainly something else minor - if you can link the actual site, I can take a look for you.

> [@The\_Jetsetter\_Cheap](#):
>
> The native sharing features is the work around, but I would like the native sharing button to only show on mobile since it doesn’t do anything on desktop. But not sure that is possible with out theme edit.

This is not too hard:  
Edit buttons you’d like to modify like this:

```auto
<button class="mobile-only-button" onclick="shareNative()"><i class="fas fa-share-alt"></i></button>

```

(Give each button that needs different behavior a different class name.)  
And then change the styling of the button like this:

```auto
@media screen and (min-width: 769px) {
     .share-icons .mobile-only-button {
          display: none)
      }
}

```

That’ll cause your mobile only button to not show on anything 769px or wider. But it’s not perfect, because a really narrow desktop window is going to see it (not something I do often but…), and a big ipad is not…

A better option is to check if the sharing function is actually present. Here’s a demo:

> **[Yes, you can share on desktop. Maybe.](https://www.spectralwebservices.com/blog/yes-you-can-share-on-desktop-maybe/)**
>
> A quick demonstration of making a share button - even on desktops!

On Windows 10, current version of Chrome, the share button is actually functional. (It’s experimental, so it may not work for you depending on your exact settings.)

Code’s at the link with the demo - you could use it to remove the share button when it is genuinely not going to work, rather than my bad size guessing above.

---

_[View the full topic](https://forum.ghost.org/t/share-buttons-on-the-post-page/27594)._
