Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author micropat

    (@micropat)

    Toggle placement options for the standard share buttons in Settings > AddToAny > Placement.

    Any idea how to hide the floating buttons from the homepage? Unchecking the ‘placement’ options in the standard tab do not seem to work for that and the homepage is not technically a page within wordpress to uncheck the option there either.

    I just figured out the answer to my own question. The answer here (https://www.ads-software.com/support/topic/removing-floating-share-buttons-from-posts-page/) applies; however, the actual code depends on your theme. I was using a custom theme, wherein I had not activated dynamic body classes, so this did not work at first. If you are in the same boat, you need to add “<?php body_class(); ?>” (minus the quotations) to your starting body tag. So, for me, the starting body tag within the header.php code now reads “<body <?php body_class(); ?>>”. With that changed, body.home now selects the styling within my index.php page. That way, adding body.home .a2a_floating_style { display: none; } to my css hides the floating share buttons on my homepage.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how can I hide add to any buttons on the homepage?’ is closed to new replies.