Viewing 2 replies - 1 through 2 (of 2 total)
  • @muhammedfurkancom You can use the amp-social-share component playground to test out your own social share button. You can apply CSS with absolute positioning to place it in the same location, with a custom background.

    Alternatively you can checkout the AddThis plugin, which is AMP compatible. You can use the plugins customHTML box for you to insert your own markup and assign a multi share button.

    Alternatively you can check other social share buttons, many of which support AMP.

    Thread Starter Muhammed Furkan Akdo?an

    (@muhammedfurkancom)

    Hi,
    I have added the following code under header.php <body>.

    <div id="sabit"><amp-social-share type="system"></amp-social-share>
    </div>

    Then I added the following code into style.css.
    There is no problem right now. Active on mobile.
    Thanks…

    #sabit
    {
    z-index:9999;
    position:fixed;
    _position:absolute;
    bottom:0px;
    right:0px;
    clip:rect(0 100 85 0);
    _top:expression(document.documentElement.scrollTop +document.documentElement.clientHeight-this.clientHeight);
    _left:expression(document.documentElement.scrollLe ft + document.documentElement.clientWidth - offsetWidth);
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sticky social share button’ is closed to new replies.