This topic has 1 reply, 2 voices, and was last updated 7 years by Kieran_SQ.

  • Author
  • #177323
     rlarson87
    Participant

    Hi, the “crop image” button is not centered vertically on the profile picture edit page. How can I fix?

    I would also like to change the button text from “crop image” to “save image”?

    Attachments:
    You must be logged in to view attached files.
    #177383
     Kieran_SQ
    Moderator

    Hi,

    To fix the button issue please apply the below CSS to your KLEO Child theme’s style.css by going to WP Admin > Appearance > Editor > KLEO Child > Style.css or by going to WP Admin > Theme Options > General Settings > Quick CSS. To see changes you will need to clear all caches.

    .buddypress .change-avatar a.button, #buddypress a.button{height: auto;line-height: inherit;}

    To translate the single string please paste the below at the end of your KLEO Child theme’s functions.php file by going to WP Admin > Appearance > Editor > KLEO Child > Functions.php

    COPY CODE
    // Translate crop image to save image
    add_filter('gettext', 'translate_reply');
    add_filter('ngettext', 'translate_reply');
    function translate_reply($translated) {
    $translated = str_ireplace('Crop Image', 'Save Image', $translated);
    return $translated;
    }

    Thanks,

    Kieran.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

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

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?