Hello!
Hoping to get some CSS help with customizing the sizing of all of these elements? This might be a good idea to add to widget customizations as well
Hello!
Hoping to get some CSS help with customizing the sizing of all of these elements? This might be a good idea to add to widget customizations as well
Hi there, @lwaterskatz
Could you please specify what you mean under the chat icon? It is a bubble icon (1) or icons of the chat sources (2)?
Hey there @Max! Number 1 and the entire popup
Got it, thanks!
[class*='FloatingButton__FloatingButtonContainer-sc'] [class*='Icon__IconContainer-sc'],
[class*='FloatingButton__FloatingButtonContainer-sc'] img{
width: 30px!important;
height: 30px!important;
}
Button Text
[class*="ButtonBase__Overlay-sc"] {
font-size: 30px;
}
Welcome Message
[class*='ChatLayout__Text-sc'] {
font-size: 20px;
}
Name in the Header
[class*="Header__Name-sc"] {
font-size: 20px;
}
.global-styles, [class^="Window__Content-sc"] {
transform: scale(1.1)
}
[class*='FloatingWindow__Container-sc'] {
bottom: 180px!important;
}
Check it out and let me know if it helped
Thank you so much!! is there a way to shrink the font in the buttons all while keeping the font in the chat different. Also increasing the image size, time stamp, and closing X? These codes are amazing!
Hi there, @lwaterskatz
Sure! To adjust the text size, please remove this code from the widget:
[class*="ButtonBase__Overlay-sc"] {
font-size: 30px;
}
And here is the code to independently change the font size in the chat bubble and chat buttons:
[class*="ChatButton__DefaultButtonComponent-sc"]
[class*="ButtonBase__Ellipsis-sc"] {
font-size: 12px;
}
[class*="FloatingButton__FloatingButtonContainer-sc"]
[class*="ButtonBase__Ellipsis-sc"] {
font-size: 29px;
}
Change size of avatar:
[class*="Avatar__Container-sc-"] {
scale: 1.5;
}
Change size of Close button
[class*="Close__Component-sc"] {
scale: 1.5;
}
Change size of time stamp
[class*="ChatLayout__Time-sc"] {
scale:1.5;
}
Please try it out and let me know how it worked