Support » Plugin: AddToAny Share Buttons » [Plugin: AddToAny: Share/Bookmark/Email Buttons] Changes to CSS overwritten on update

  • Resolved cruxwireweb


    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?


Viewing 1 replies (of 1 total)
  • Plugin Author micropat


    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. 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: AddToAny: Share/Bookmark/Email Buttons] Changes to CSS overwritten on update’ is closed to new replies.