Forums

Share Buttons by Lockerz / AddToAny
Add Heading Above Add to Any Buttons (3 posts)

  1. ajwalsh
    Member
    Posted 10 months ago #

    Hello, I'm a big fan of the plugin; thanks!

    I'd like to be able to have a heading above the standalone icons I have at the bottom of my posts and certain pages. (for example, "Did You Enjoy This Article? If So, Share It!")

    How might I got about doing this? I looked around in the settings and old threads and wasn't quite sure how to approach it.

  2. ZinZangStudio
    Member
    Posted 10 months ago #

    An easy way is to add a declaration in your theme's stylesheet similar to this:

    .addtoany_share_save_container { padding-top: 30px; background: url(../didyouenjoythisarticle.png) no-repeat left top; }

    This adds padding to the top of the AddToAny container to allow a background image you create to be visible above the Standalone Services or Buttons.
    Adjust padding, image path, image name, and alignment to suit your needs.

  3. ZinZangStudio
    Member
    Posted 10 months ago #

    ...and maybe an even easier and better way to handle this on certain posts and pages is to add the shortcode:
    [addtoany] (in HTML mode) after typing "Did You Enjoy This Article? If So, Share It!" right on that post or page.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags