Support » Plugin: Simple Share Buttons Adder » How to hide sharing buttons in AMP Page

  • Resolved phriquez

    (@phriquez)


    Hello,

    We implemented the AMP for our website and it is working great, our only concern is the sharing buttons that are not appropriate and looks bad.

    We tried a previous topic were they suggested adding a custom functions to functions.php to stop the HTML loading of the div, but it didn’t work.

    Please, it would be great to know how to attack this div to hide it.

    NOTE: We inspected the site, and found with the Chrome Dev Tools that if we put the display: none; CSS it disappears, in that case, I think editing the CSS for it should work, but we don’t know where it is or how to modify it.

    Either way, if you have another solution, we are all ears. Thank you

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor ShareThis

    (@sharethis)

    Hi there,

    Thank you for reaching out,

    Currently, the shortcode [ssba_hide] will hide the buttons on a given page. If you need to add it via template please use the following code <?php do_shortcode(‘[ssba_hide]’); ?>

    Hopefully, this will resolve the issue, If you have any questions please let us know.

    Best,

Viewing 1 replies (of 1 total)
  • The topic ‘How to hide sharing buttons in AMP Page’ is closed to new replies.