Raw Content formatting question

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
aa

CSS Code
ads

Thanks

Works perfect, thanks!

Hello @marketinglaura

Glad that we able to help you

Have a great day!
Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.