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?
- The topic ‘[Plugin: AddToAny: Share/Bookmark/Email Buttons] Changes to CSS overwritten on update’ is closed to new replies.