WordPress.org

Ready to get started?Download WordPress

Forums

Share Buttons by AddToAny
[resolved] [Plugin: AddToAny: Share/Bookmark/Email Buttons] Changes to CSS overwritten on update (2 posts)

  1. cruxwireweb
    Member
    Posted 3 years ago #

    The declaration for .addtoany_share_save_container in the plug-in's stylesheet (addtoany.min.css) has clear:both. Because of this, the button clears the sidebar of a blog page when the content of the blog post is shorter than the sidebar. This leaves a big ugly white gap at the bottom of a post before the button and the post's metadata shows up.

    I added clear:none to my site's main stylesheet, but the styles in addtoany.min.css override the styles in the main stylesheet, so I have to go into addtoany.min.css and take the clear:both off.

    The problem with this is that when I update this plug-in, it overwrites that change and sets the clear again. It's not a big deal to take the clearing off again, but it's a pain in the butt to remember to do it.

    Is there a way I can force the styles in my main stylesheet to override the ones in addtoany.min.css?

    Thanks.

    http://wordpress.org/extend/plugins/add-to-any/

  2. micropat
    Member
    Plugin Author

    Posted 3 years ago #

    Sure, just copy the AddToAny CSS code and paste it into your theme's CSS stylesheet.

    From there, simply un-check the "Use CSS stylesheet" option under Advanced Options in the AddToAny settings panel. Then feel free to modify the CSS code without having to worry about upgrades overwriting your changes. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags