Live Chat Button & Chat Poisiton

Hello,

Hubspot Live chat button blocking my templates “all products button” on mobile view.

I’ve tried to use that code to fix the issue

@media only screen and (max-width: 768px) {
#hubspot-messages-iframe-container {
margin-bottom: 50px !important;
}
}

but this has created another problem.

Now the chat window goes up and the X button is not reachable to close it.

Here is another code I’ve tried to fix it but it didn’t work.

@media only screen and (max-width: 768px) {

.VisitorWidgetStyleWrapper__WidgetContentStyleWrapper-sc-1d9z9d9-1 .bWnDt .chat-widget .mobile{
margin-top: 50px !important;
}
}

please help,

Thank you all.

Hi @Ventrawall,

Thanks for reaching out to the Community!

I understand that your live chat button is blocking a button on the mobile view of your website.

Can you please share a link to the affected webpage so we can take a look at the code?
I also wanted to invite our subject matter experts to see if they have any advice on how to modify your code.

Hi @HFisher7, @elizheleva, @Anton - Do you have any suggestions for @Ventrawall’s media query code?

Thank you!

Best,

Kristen

Thank you for your warm and quick reply, we are new on Hubspot and this platform is great. I wish there were more options for Turkish companies.

any solution ?

found solution by myself thank you

Hi,

would it be possible to share your solution?

Thank you.

this code helped me;

div#hubspot-messages-iframe-container {
bottom: 44px !important;
max-height: calc(100% - 44px) !important;
}
.bottom-left-widget{
bottom: 100px;
}

That is very kind of you, many thanks.