Is posible to change the button text on whatsapp floating button?

Hello everyone I’m testing the free tier and the whatsapp floating button. It’s possible to change this text? We have two offices with two different whatsapp numbers.

1 Like

Add this code into CSS box to change first button text

a:first-child [class*="Default"] {
    font-size: 0;
}
a:first-child [class*="Default"]:before {
    content: "Whatsapp Second";
    font-size: 13px;
}

2 Likes

Hi @David_Pincheira and welcome to Community :heart:

Please try to use the code @tuanphan suggested and let me know if it helped :slightly_smiling_face:

Thanks a lot! It works perfectly for the first button but I’m trying to change both (one for each office). I have an slightly different code but doesn’t work:

a:first-child [class*="Default"] {
    font-size: 0;
}
a:first-child [class*="Default"]:before {
    content: "Centro 1";
    font-size: 15px;
}
a:first-child [class*="euVZIN"] {
    font-size: 0;
}
a:first-child [class*="euVZIN"]:before {
    content: "Centro 2";
    font-size: 14px;
}

Try to use this one and let me know if it helped :slightly_smiling_face:

a:first-child [class*="Default"] {
    font-size: 0;
}
a:first-child [class*="Default"]:before {
    content: "Centro 1";
    font-size: 15px;
}
a:last-child [class*="Default"] {
    font-size: 0;
}
a:last-child [class*="Default"]:before {
    content: "Centro 2";
    font-size: 14px;
}
2 Likes

Hello Team,
This only works for paid subs right?

1 Like

Hi @David_Pincheira :wave:

Please try to use this one instead:


button:first-child [class*="ButtonBase__Ellipsis"] {
    font-size: 0;
}
button:first-child [class*="ButtonBase__Ellipsis"]:before {
    content: "Centro Médico";
    font-size: 15px;
}
button:last-child [class*="ButtonBase__Ellipsis"] {
    font-size: 0;
}
button:last-child [class*="ButtonBase__Ellipsis"]:before {
    content: "Centro Dental";
    font-size: 15px;
}

Please check it and let me know if it helped :slightly_smiling_face:

1 Like