back to my blog

2. Customize your widget

chatroom preview

widget settings

Type a number or choose a color. Your changes appear in the preview. px means pixels; % means a portion of the chat width.

change widget header text

Leave blank for the default wording and icon. A PNG, GIF or WebP replaces ✿ or ✉ in the header, in both the preview and the copied widget.

appearance & size

embed code

where to paste the widget

open your blog page’s html. find the paragraph or section after which you want the widget to appear. paste the whole embed inside <body>, on a new line right after that closing tag.

<p>welcome to my blog!</p>
<!-- paste the whole embed here -->

for a sidebar, paste it inside your sidebar container, just before its closing tag.

using the downloaded html? upload the whole file to your site. then paste an iframe like this in the same spot and change src to the uploaded file’s address.

<iframe src="/chatroom-widget.html"
  title="chatroom" width="340" height="410"
  style="max-width:100%;border:0"></iframe><iframe src="/guestbook-widget.html"
  title="guestbook" width="740" height="600"
  style="max-width:100%;border:0"></iframe>

to edit the downloaded widget’s css, open that file and edit the rules between <style> and </style> near the top. for chatroom and guestbook, enter your worker url before copying the embed or downloading the file.