I’m using javascript to force open the Olark chat with a button. I’ve put it into the raw content element inside the button shortcode. I’d like it to match my other buttons at 90% width and can’t seem to get it to work. Can you help me out?
Hello @marketinglaura,
Thanks for writing to us.
I checked your website by given login details. To make the button’s width similar to your above button you need to add a custom class and with respect to that custom class, you need to add this custom CSS Code.
I had tested with a class called .chat-button and CSS code
.chat-button{
width:100%;
}
Please have look at the given screenshot below
Custom class

CSS Code

Thanks
Works perfect, thanks!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.