Today,I am going to share with you on how to add floating social media buttons without using plugins.I prefer adding it manually because too much plugins makes site to be slow.
These floating buttons include facebook share, facebook like, google +1, twitter, stumbleupon and digg. You can display the buttons on the left or right side of the page as you can see on this page you’re presently reading.My own is on the left side of my site. Adding the share buttons to your wordpress blog is quite easy as there’s absolutely no need editing your template.
How to Add Floating Share Buttons to WordPress Without a Plugin
- Go to Dashboard > Appearance > Widgets > Available Widgets.
- Drag Text widget into a sidebar and paste the code below in the text area.
3. To make the buttons float to the left, find right:10px; in the code and change to left:10px;
4. Just save and view your blog to see the buttons appear.
You can style the share buttons by changing the background color and other things. To change the background color, simply find and replace (#eff3fa) in the code with your own color code.