BuddyDev

Search

Modifying button label "FAVORITE" to "LIKE on Activity stream

  • Participant
    Level: Initiated
    Posts: 12
    binutz on #16075

    Hi,

    This refers to my earlier post dated June 29 on this topic
    ( https://buddydev.com/support/forums/topic/changing-the-button-label-favorite-to-like-on-activity-stream/)
    I tried various methods (Poedit,Loco-Translate ,WPT Custom Mo File) to change the button label from Favorite to Like .Unfortunately,nothing worked for me.

    Finally I used the following CSS work around for achieving the results.

    ———————————————————————
    .activity-meta
    .button.fav.bp-secondary-action {
    visibility:hidden;
    }
    .activity-meta
    .button.fav.bp-secondary-action:before {
    visibility:visible;
    content:”Like”
    }
    .activity-meta
    .button.bp-secondary-action.unfav {
    visibility:hidden;
    }
    .activity-meta
    .button.bp-secondary-action.unfav:before {
    visibility:visible;
    content:”Undo Like”
    }
    ———————-

    I would like to know whether this is okay to use? Is this likely cause any issue later?

    Please advise

    Thanks & Regards

    Binu

You must be logged in to reply to this topic.

This topic is: not resolved