Customizing the author box

Community Forums Forums General Discussion Customizing the author box

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  nutsandbolts 10 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #76522

    Callum
    Participant
    Post count: 24

    Hi,

    I’m in the process of creating a multi author site so I’m keen to use the author box. I’m assessing the capabilities of the genesis author box and hopefully avoiding requiring a plugin. On this page I have a demo box (see link)

    I have found a resource for color customization and the like so no issues there. But there are are things I haven’t been able to accomplish.

    1. Can the “About” be removed from the title of the author box?
    2. Can (using my example) the connect with line be moved down one more line? I’ve attempted to use html in the author bio box, like I did to create the links, but this does not work. I’d like the bio to end at the avatar as it is, then and empty line, then the connect line.

    Thanks for any advice.
    Callum

    http://www.rugbycoaching.org/free-sample-practice-session-planning-sheet/
    #76545

    nutsandbolts
    Moderator
    Post count: 3141

    Here is a snippet you can use in functions.php to customize the title:

    //* Customize the author box title
    add_filter( 'genesis_author_box_title', 'custom_author_box_title' );
    function custom_author_box_title() {
    	return '<strong>About the Author</strong>';
    }

    To fix the spacing between paragraphs, find this in your stylesheet:

    .author-box p {
    margin-bottom: 0;
    }

    and modify the value for margin-bottom. You may need to add !important so you’ll end up with something like this:

    .author-box p {
    margin-bottom: 20px !important;
    }

    Hope that helps!


    Andrea Whitmer, Owner, Nuts and Bolts Media
    I provide dev and training services for web designers • Find me on Twitter and Google+

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.