How to Customize Genesis Author Box Gravatar Size in WordPress?

Genesis Framework : In this tutorial, you’ll learn how to Customize Genesis Author Box Gravatar Size. The Genesis Framework empowers you to quickly and easily build incredible websites with WordPress. Whether you’re a novice or advanced developer, Genesis provides the secure and search-engine-optimized foundation that takes WordPress to places you never thought it could go. In Genesis powered websites you’ve to modify the child theme which is running on.

These code snippets will help you to change Genesis Author Box gravatar size with the Genesis Framework.

Unless otherwise indicated, the code snippets you see below should be placed into your theme’s functions.php file.

Customize Genesis Author Box Gravatar Size


Below is the code to customize the Genesis Author Box Gravatar Size:

//* Do NOT include the opening php tag
//* Customize the Gravatar size in the author box
add_filter( 'genesis_author_box_gravatar_size', 'bg_author_box_gravatar' );
function bg_author_box_gravatar( $size ) {
return '96';
}

Below is sample CSS to customize the Author Box on your site:
/* Author Box
------------------------------------------------------------ */
.author-box {
background-color: #f5f5f5;
border: 1px solid #ddd;
margin: 0 0 40px;
overflow: hidden;
padding: 10px;
}
.author-box p {
font-size: 14px;
}

Final Words

I strongly recommended to take backup core files before customizing any Genesis Child Theme. Hope the above Genesis Tutorial was helpful and valued for you. Please don’t forget to share this with social friends and write a comment below if you need any assistance in customizing the look of your WordPress websites.