WordPress.org

Ready to get started?Download WordPress

Forums

Shareaholic | share buttons & related posts
[resolved] How to reduce spacing above/below buttons (3 posts)

  1. beggers
    Member
    Posted 9 months ago #

    I just installed Shareaholic and am very pleased so far. I'd just like to reduce the spacing above and below the line of buttons. After examining the elements it appears that this is controlled by shareaholic-share-buttons-container. So I tried adding this to my style.css but it didn't work so I guess I'm missing something:

    .shareaholic-share-buttons-container {
    margin: 0 auto;
    padding: 0px 0px 0px 0px;
    position: relative;
    font-family: 'lucida grande', tahoma, verdana, arial, sans-serif;
    }

    My site is http://www.vegasnews.com and Shareaholic is set to appear above the content. Thanks!

    http://wordpress.org/plugins/shareaholic/

  2. Andy - Shareaholic
    Member
    Posted 9 months ago #

    Hi there,

    Thanks for the kind words!

    It's not applying the new styles because they are getting overridden by !important and greater specificity in our styles.

    .shareaholic-canvas .shareaholic-share-buttons-container .shareaholic-share-buttons-wrapper ul.shareaholic-share-buttons {
    margin: 0 auto !important;
    padding: 0px 0px 0px 0px !important;
    }

    Please let me know how it goes. Also, I think a Vegas trip is long overdue on my end, looks like a lot of fun!

    Sincerely,

    Andy Huang
    Shareaholic Support

  3. beggers
    Member
    Posted 9 months ago #

    That worked perfectly! You guys are awesome! Thanks, and hope you make it to Vegas soon.

Reply

You must log in to post.

About this Plugin

About this Topic