This topic has 1 reply, 1 voice, and was last updated 10 years by ThemeVal.

  • Author

    Tagged: ,

  • #29091
     ThemeVal
    Participant

    Hi, I am following the information at the WordPress Codex to create a custom default avatar.

    I have added their suggested php code to functions.php file as they suggest — into the Kleo Child functions.php.

    http://codex.wordpress.org/How_to_Use_Gravatars_in_WordPress#Create_a_Custom_Default_Avatar

    Nothing seems to be happening. The ugly default “Mystery Man” is still showing up on my site.

    Can you please help???

    Thank you!!!

    #29092
     ThemeVal
    Participant

    Found an answer at BuddyPress that worked like a charm:

    The way I achieve this is by using wordpress blank avatar and css.
    In wordpress dashboard Settings -> Discussion, change default avatar to Blank.
    In your css file add this (after uploading the image you want to use ->

    .avatar {background:url(image/custom_avatar.png) 0 0px no-repeat!important;background-size:100%, 100%!important;}

    Source: https://buddypress.org/support/topic/changing-the-default-mystery-man-avatar/ (bottom of page)

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

The topic ‘Changing Default Avatar’ is closed to new replies.

Log in with your credentials

Forgot your details?