Support » Plugin: AddToAny Share Buttons » align button with post left margin

  • davidvess

    (@davidvess)


    In multiple themes I’ve tested the add to any button displays about 5 or 10 px to the right from the left margin. How can I tweak this to display in alignment? I tried your FAQ searching around this whole forum, the main plugin site, etc. In the FAQ, I saw the center, and right alignment idea for the theme’s css. I tweaked that and tried variations of this: .addtoany_share_save_container { margin:0px 0px 0px -10px; } But no luck. Any suggestions would be awesome. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • davidvess

    (@davidvess)

    ah, nevermind, to tweak the placement of the add to any button, just go into the plugin’s css file. the main container/button css is there. I missed that the first 10 times I looked at it. [eyescrossed] Sooo, it’s default is this:
    addtoany_share_save_container{clear:both;line-height:32px;margin:16px 0}

    I changed my margin to this: margin:0px 0px 0px -10px
    and I’m set.

    Plugin Contributor AddToAny

    (@addtoany)

    Just make sure you add this CSS to your theme’s main stylesheet instead of the plugin’s stylesheet. If you were to add it to the plugin’s stylesheet your customization would be overwritten in the next plugin update.

    Good work. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘align button with post left margin’ is closed to new replies.