When using Style 5 of the Click to Chat Shortcode, the following attributes can be used to customize the appearance and content of the widget:
Available Attributes
s5_line_2
(Text for the second line)
Sets the message displayed in the second line of the chat box.
s5_image_position
(left
or right
)
Defines the position of the image.
Default: left
When set to left
, the image appears on the left and the text scrolls to the right of it.
s5_img_url
(URL of the image)
Specifies the custom image to be displayed.
call_to_action
(Text for the first line)
Sets the message displayed in the first line of the chat box.
Example Usage:
[ht-ctc-chat style=5 s5_image_position=right]
[ht-ctc-chat style=5 s5_img_url="https://media.giphy.com/media/cONzyw/giphy.gif"]
[ht-ctc-chat style=5 call_to_action="Chat with us"]
[ht-ctc-chat style=5 s5_line_2="We are here to help"]