LiveEngage - Using CSS To Modify Embedded Chat Buttons
Update: With the new HTML engagements in LiveEngage, this method is now outdated. It is recommended that you use the supported method listed above.
The purpose of this tutorial is to show you how to use your own custom CSS to modify your embedded chat buttons from LiveEngage.
Currently in LiveEngage, the only options you have for an embedded button is to use an image or the few text styling elements that are available in the engagement studio. There is no way to use your own fonts, CSS, or HTML elements for your chat button, which can sometimes make it hard for your chat button to match the rest of the theme of your site.
For example, if the rest of the links on your site have hover effects, or if the font family of the text in the links is ‘Comic Sans MS’, your embedded chat button will not match the feel of your site. In order to fix this, you can use custom CSS on your site to modify the default styling of the button.
The embedded chat buttons have a class called ‘LPMlabel’, so by adding a CSS styling to the page with the !important attribute, it will override the default CSS.
Let's get started:
Code:
Result:
Before | After |
Code:
Result:
Before | After |