Great plugin – nice and light. The look can be modified easily even by newbies
-
This plugin is light and simple, which means it’s light and simple (not many options in the plugin admin). I simply wanted to center my share icons at the bottom of each post, mess with the padding a bit, and make sure the background of the container matched my website. I know very little about code so while this worked, it could probably be expressed in a better/proper form.
Obviously, save this file before you change it (either through ftp or through your host dashboard, etc).In WordPress admin go to the plugin editor, selected ssbl, and open the file “simple-share-buttons-light/simple-share-buttons-light.php” and find “FRONTEND HOOKS” and find “$output=”….”;
In between the “..” you can style your buttons container, background, button size, whatever. I made the buttons smaller, centered them, and added a transition and opacity effect on hover. So there is some flexibility if you tinker around a bit and it is pretty painless. And again for the experts here, this is probably expressed incorrectly, but it seems so work nicely:
// add ssbl css function hook_css() { $output="<style>.ssbl-wrap{margin-top:90px; margin-bottom:90px; text-align:center;background:#fafafa;} .ssbl-container{background:#fafafa;} .ssbl-img{background:#fafafa;width:32px;height:32px;padding:0 6px 0 6px;border:0;box-shadow:0;display:inline;-webkit-transition: opacity .3s ease-in-out;-moz-transition: opacity .3s ease-in-out;-ms-transition: opacity .3s ease-in-out;-o-transition:opacity .3s ease-in-out;transition: opacity .3s ease-in-out;}.ssbl-wrap a:hover,.ssbl-wrap a:active {zoom: 1;filter: alpha(opacity=40);opacity: 0.4;}</style>"; echo $output;
- The topic ‘Great plugin – nice and light. The look can be modified easily even by newbies’ is closed to new replies.