CSS Tricks for Joinchat

How to customize Joinchat using CSS styles

Change the look of Joinchat by adding some styles in your theme’s stylesheet or from Appearance> Customize> Additional CSS

You can combine several styles:

.joinchat {
 --bottom: 80px;
 --s: 52px;
}

To apply the changes only on mobile devices use “media queries”:

@media (max-width: 480px), (orientation: landscape) and (max-width: 767px) {
 .joinchat {
 --bottom: 80px;
 --s: 52px;
 }
}

👆 Raising the Floating Button

/* defaults: desk 20px, mobile 6px */
.joinchat {
 --bottom: 80px;
}

🤏 Resize the float button

/* default: 60px */
.joinchat {
 --s: 50px;
}

☝️ Putting Joinchat above other objects

/* default: before v4.4 1000, after v4.4 9999, after v4.5.10 9000 */
.joinchat {
 z-index: 99999; 
}

📏 Changing the height of the chat header

/* defaults: desk 70px, mobile 55px */
.joinchat {
 --header: 60px;
}

🎨 Change the color of the floating button

/* default: #25d366; */
.joinchat__button {
 background-color: #999;
}

🖼️ Allways show alternate image

.joinchat--show .joinchat__button__image {
  opacity: 1;
  animation: none;
}

🍪 We use cookies to personalize and enhance your experience on our site. Visit our Privacy Policy to learn more.

BY USING OUR SITE, YOU AGREE TO OUR USE OF COOKIES.