Zen Cart Logo
Forums / Addon Sideboxes / MyLiveChat in chat box format is too wide for the sidebox

MyLiveChat in chat box format is too wide for the sidebox

Views: 2,126

Results 1 to 4 of 4
25 May 2013, 10:02 AM
#1
bodkin77 avatar

bodkin77

New Zenner

Join Date:
Apr 2013
Location:
Bangkok, Thailand
Posts:
35
Plugin Contributions:
0

MyLiveChat in chat box format is too wide for the sidebox

Hi, I have successfully installed a MyLiveChat sidebox into my site. I chose to make it a chat box. Where is the code to edit the width of this? It is currently wider than the right column.

https://www.asia-sell.com

Thankyou,
Boyd

25 May 2013, 11:00 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: MyLiveChat in chat box format is too wide for the sidebox

The width of all of that box except the header is set to 188px. You'll have to find that in the code, possibly using the Developers Tool Kit) and change it to the width of your sidebox column.

26 May 2013, 6:03 AM
#3
bodkin77 avatar

bodkin77

New Zenner

Join Date:
Apr 2013
Location:
Bangkok, Thailand
Posts:
35
Plugin Contributions:
0

Re: MyLiveChat in chat box format is too wide for the sidebox

I search for 188 in the toolkit in all file types but no luck. The only files MyLiveChat came with was tpl_mylivechat.php, mylivechat.php, and chat_code.php, but they don't contain much at all.

Stylebot to the rescue again! I obtained the following code from stylebot and then put it in my stylesheet. Viola

div.jsml_label {
width: 130px;
}

div.jsml_textbox textarea {
width: 130px;
}

button.jsml_button {
margin-left: -83px;

Now I am trying to figure out how to use a custom chat box template, because the colors of the 4 templates provided don't match my site.

26 May 2013, 11:27 AM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: MyLiveChat in chat box format is too wide for the sidebox

Can't advise further, as the chat box isn't there now. I would guess the colors are specified with inline styling in one or both of the files you mentioned.