Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

  • ajay25
    Participant

    @ajay25

    Thank you for the suggestion danbp and for taking some time from your busy schedule. I’ll surely try to find some other theme. If you have any idea of the free themes, please do let me know.


    ajay25
    Participant

    @ajay25

    Hi,

    Addition to the above post, please find the screen shots

    null


    ajay25
    Participant

    @ajay25

    Hi,

    Completely deleted the functions.php from child theme and bp-custom.php from the plugins folder. Used only the below mentioned code in style.css file which is located in the child theme. Unable to know where I am doing the mistake. There was no change after I did this.

    /*
    Theme Name: My Theme
    Theme URI: http://example.org/themes/dusk/
    Description:
    Version: 1.0
    Author: Admin
    Author URI:
    Template: bp-default
    Tags: buddypress, two-column, grey, dark
    */
    #buddypress div.activity-avatar img.avatar {
    height: 80px!important;
    width: 80px!important;
    }

    ajay25
    Participant

    @ajay25

    Hi,

    I added the above mentioned code in the style.css of my child theme an the result is negative.

    Code that I added to the style.css is as mentioned below.

    #buddypress div.activity-avatar img.avatar {
    height: 80px!important;
    width: 80px!important;
    }

    I checked the same in “twentyfifteen” theme and the issue is the same.


    ajay25
    Participant

    @ajay25

    Hi,

    Please ignore the previous message.

    1) I created a new child theme and created a style.css and function.php.
    2) In function.php, I used the below code. It changed the size of the profile pic but not the size of the profile pic in the activity stream

    define ( 'BP_AVATAR_THUMB_WIDTH', 80 );
    define ( 'BP_AVATAR_THUMB_HEIGHT', 80 );
    define ( 'BP_AVATAR_FULL_WIDTH', 175 );
    define ( 'BP_AVATAR_FULL_HEIGHT', 175 );
    define ( 'BP_AVATAR_ORIGINAL_MAX_WIDTH', 300 );

    ajay25
    Participant

    @ajay25

    Hi,

    As per the link that you shared, I created a child theme and a style.css in it.

    I used the code as mentioned above but it didn’t work. Unable to know where I am making a mistake.


    ajay25
    Participant

    @ajay25

    Hi Danbp,

    Thank you for the reply.

    Yes, I went through the document that you have suggested and only after that I did as mentioned above by me.

    In the document, it is mentioned as below.

    “BuddyPress allows for changing the default avatar sizes using a constant. These constants are set up in /bp-core/bp-core-avatars.php. If you want to change their values, you will need to create and/or edit your bp-custom.php file. Here are the available options:

    define ( ‘BP_AVATAR_THUMB_WIDTH’, 50 );
    define ( ‘BP_AVATAR_THUMB_HEIGHT’, 50 );
    define ( ‘BP_AVATAR_FULL_WIDTH’, 150 );
    define ( ‘BP_AVATAR_FULL_HEIGHT’, 150 );
    define ( ‘BP_AVATAR_ORIGINAL_MAX_WIDTH’, 640 );
    define ( ‘BP_AVATAR_ORIGINAL_MAX_FILESIZE’, $max_in_kb );”

    But this only changes the avatar but not the avatar that is in the activity stream.

Viewing 7 replies - 1 through 7 (of 7 total)
Skip to toolbar