Support » Plugin: Simple Author Bio » Image size

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author jmarreros

    (@jmarreros)

    Hi,

    You can use CSS:

    
    body .dcms_author-avatar .avatar{
     max-width: 96px;
    }
    

    change 96px , for example max-width: 120px

    Cheers! 🙂

    Hello,

    Thanks for the answer.

    I did the test, but the photo gets blurred.

    Look: https://www.fliplab.com.br/blog/tempario-pessoas-antes-de-sistemas/

    Any tips?

    Plugin Author jmarreros

    (@jmarreros)

    Hi

    You also have to change description and heading margin left

    try this code:

    
    .dcms_author-info .dcms_author-description,
    .dcms_author-info .dcms_author-heading{
        margin-left: 136px!important;;
    }
    

    If you want to use another gravatar size, find this file: /wp-content/plugins/simple-author-bio/includes/class-dcms-simple-author-bio.php

    Search get_avatar function (line 132), and add another parameter, default is 96
    For example:


    $replace[] = get_avatar( get_the_author_meta( 'user_email' ), 512 );

    Ref: https://codex.wordpress.org/Function_Reference/get_avatar

    Cheers! 🙂

    Works!

    Tks for your support and congratulations for this plugin. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Image size’ is closed to new replies.