WordPress.org

Ready to get started?Download WordPress

Forums

Share Buttons by AddToAny
[resolved] Disable floating bar on pages (4 posts)

  1. kozzmen
    Member
    Posted 3 months ago #

    Hi there,

    I really liked your plugin and gave it 5 stars.
    However I am experiencing some troubles to disable the floating sharing bar on pages and specially on the home page.
    I couldn't find anywhere in the plugin options how to disable this floating bar on pages. I need this feature only on blog posts.

    Could you please help?

    Thanks,
    Stefan

    https://wordpress.org/plugins/add-to-any/

  2. micropat
    Member
    Plugin Author

    Posted 3 months ago #

    Hi Stefan,

    Right now an enabled floating share bar will show on all pages, and a future update will make this more configurable.

    A current workaround is to use custom CSS code. To disable a floating bar on the homepage, for example:

    body.home .a2a_floating_style { display: none; }

  3. kozzmen
    Member
    Posted 3 months ago #

    Thanks for the snippet!
    It worked like a charm, but the floating bar is still available on inner pages. How can I remove it from there?

    Thanks!

  4. micropat
    Member
    Plugin Author

    Posted 3 months ago #

    To disable the floating share bar(s) on the homepage and pages:

    body.home .a2a_floating_style, body.page .a2a_floating_style { display: none; }

Reply

You must log in to post.

About this Plugin

About this Topic