Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide chat icon (Userlike) in print mode #132

Closed
SivachenkoYegor opened this issue May 11, 2022 · 2 comments
Closed

Hide chat icon (Userlike) in print mode #132

SivachenkoYegor opened this issue May 11, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@SivachenkoYegor
Copy link

I want to hide Userlike when printing a page. Are there any things that I can easily add to do that?
Trying to do something like this
@media print {
....
display: none !important;
....
}
But there is no possibility for now as I understood.

Thanks!

@SivachenkoYegor SivachenkoYegor added the enhancement New feature or request label May 11, 2022
@benschwarz
Copy link
Member

Hey @SivachenkoYegor. You're correct, there's no mechanism to do this at the moment.

When we tackle #92, we'll also ensure that there's element hooks (IDs or classes) to meet your requirements of hiding it for print.

@robmorieson
Copy link
Contributor

@SivachenkoYegor — thanks for raising this one. Our latest release (2.8.0) adds live-chat-loader-placeholder as a class name to the chat element (customisable using the containerClass prop). This class name should allow you to target the element for hiding via print styles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

3 participants