• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Riot Customs

Genesis WordPress Development, Maintenance & Support

  • About
  • Services
  • Blog
  • Shop
  • Contact

Customize Jetpack Share Buttons

Written by Riot Customs

Notes: The CSS style was updated December 16, 2015.

Why not allow others to share your post with just a click of a button. Here’s how, simply download the Jetpack by WordPress.com plugin.

By default WordPress, Jetpack adds the sharing buttons to the bottom of your entry content. If you would like to display the buttons at the top and bottom of your entry content, place the code below into your theme’s functions.php file. Only use the php coding if you want your share buttons under the post title instead of on the bottom of the post.


//* Add Jetpack share buttons above post
remove_filter( 'the_content', 'sharing_display', 19 );
remove_filter( 'the_excerpt', 'sharing_display', 19 );

add_filter( 'the_content', 'sp_share_buttons_above_post', 19 );
add_filter( 'the_excerpt', 'sp_share_buttons_above_post', 19 );

function sp_share_buttons_above_post( $content = '' ) {
if ( function_exists( 'sharing_display' ) ) {
return sharing_display() . $content;
}
else {
return $content;
}

customize jetpack sharing buttons

Use the CSS below as a place to start for your style changes. Please know that it only works if you have the “Icon + Text” button style option selected.


/*  Jetpack
--------------------------------------------- */
#wpstats {
	display: none;
}

.content .sd-content ul {
	text-align: center;
}

.content .share-count {
	color: #ceebd1;
	padding: 3px 5px;
}

.content .sd-social-icon .sd-content ul li a.sd-button,
.content .sd-social-text .sd-content ul li a.sd-button,
.content .sd-content ul li a.sd-button,
.content .sd-content ul li .option a.share-ustom,
.content .sd-content ul li.preview-item div.option.option-smart-off a,
.content .sd-content ul li.advanced a.share-more,
.content .sd-social-icon-text .sd-content ul li a.sd-button,
.content .sd-social-official .sd-content > ul > li > a.sd-button,
.content #sharing_email .sharing_send,
.sd-social-official .sd-content > ul > li .digg_button > a {
	background: #f8f8f8 !important;
	color: #333 !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 10px 10px !important;
	text-transform: uppercase;
}

div.sharedaddy h3.sd-title::before {
    border: none !important;
    content: "";
    display: block;
    margin-bottom: 1em;
    min-width: 30px;
    width: 100%;
}

.content div.sharedaddy h3.sd-title {
	font-size: 13px;
	font-weight: 300;
	text-align: center;
	text-transform: uppercase;
	width: 100%;
}

sharebuttons

Previous Post
Next Post

GenesisWP, Tutorials Leave a Comment

Reader Interactions

Share Your Thoughts
Cancel reply

Your email address will not be published. Required fields are marked *

I accept the Privacy Policy

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Categories

  • Blogging
  • Business
  • Client Work
  • ConvertKit
  • Freebie
  • GenesisWP
  • Interact
  • Personal
  • Theme Releases
  • Theme Updates
  • Tools & Software
  • Tutorials
  • Web Design
  • WordPress

Master ConvertKit

A kick ass tech course on using the ConvertKit software. Want to start growing your list with the best email marketing software out there? What are you waiting for? Grab this course now!

Enroll Now!
Buy me a coffee
Newsletter

Tails from the Beast

Join our newsletter for tips on how to use the WordPress platforms. Advance your skills, and most importantly, puppy photos.

Please enter your name.
Please enter a valid email address.
Sign Me Up!

Thanks for subscribing! Please check your email for further instructions.

Something went wrong. Please check your entries and try again.

Development Information

  • How it Works
  • Trusted Partners
  • Portfolio
  • Client Portal

Explore

  • Resources
  • ConvertKit Services
  • Terms of Service
  • Privacy Policy
  • Disclamier

© 2009 - 2026 Riot Customs, LLC.

Powered by Flywheel & Beaver Builder.