admin:online-platform-cms:3rd-party-scripts:freshchat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
admin:online-platform-cms:3rd-party-scripts:freshchat [2020/06/17 06:47] algirdas-matasadmin:online-platform-cms:3rd-party-scripts:freshchat [2021/01/07 07:59] algirdas-matas
Line 9: Line 9:
   function initFreshChat() {   function initFreshChat() {
     window.fcWidget.init({     window.fcWidget.init({
 +      config: {
 +        "cssNames": {
 +          "widget": "custom_fc_frame"
 +        }
 +      },
       token: freshchattoken,       token: freshchattoken,
       host: freshchathost       host: freshchathost
Line 30: Line 35:
 </code> </code>
  
 +To move the chat widget around, add this to FOOTER CONTENT: 
 +<code> 
 +<style> 
 +.custom_fc_frame { 
 +  margin: a b c d 
 +
 +.custom_fc_frame.fc-open { margin: 0 } 
 +</style> 
 +</code> 
 +where 
 +a - move down 
 +b - move left 
 +c - move up 
 +d - move right 
 +certain amount of pixels, e.g. `margin: 0 10px 10px 0` -> moves widget upwards and to the left in 10px both.
  • admin/online-platform-cms/3rd-party-scripts/freshchat.txt
  • Last modified: 2021/08/31 08:41
  • (external edit)