• Resolved kifli2

    (@kifli2)


    Hi, I really like your plugin, perfect for me. Only one thing bothers me.

    When I click on the icon, the #fcb-modal tag appears in the browser bar. I don’t like it, it’s not very aesthetic. I would like to change this to something unique that fits my site. Is this possible?

    I tried in Notepadplusplus to change the fcb-modal tag to ‘terminal’ for example in the whole plugin, but I lost the styles, it looked very bad.

    Thanks for your help.

Viewing 1 replies (of 1 total)
  • Plugin Author Christoph Nagel

    (@cmsgeek)

    Hi @kifli2 ,
    many thanks and please excuse my late feedback.

    When you use Notepad++ change in the floating-contact.php in line 169:

    echo ' <a href="#fcb-modal" class="fcb-link-button"><i class="fcb-icons"><span class="dashicons dashicons-format-chat"></span></i></a>';
      echo ' <div id="fcb-modal">';
      echo ' <div class="fcb-header"><a href="#" class="close-fcb-modal"><div class="fcb-header-close"><span class="fcb-close">X</span></div></a></div>';
      echo ' <div class="fcb-modal-content"> ';
      echo ' <p>'.do_shortcode($fcb_shortcode).'</p>';
      echo ' </div>';
      echo ' <div class="overlay"></div>';
      echo ' </div>';

    to

    echo ' <a href="#terminal" class="fcb-link-button"><i class="fcb-icons"><span class="dashicons dashicons-format-chat"></span></i></a>';
      echo ' <div id="terminal">';
      echo ' <div class="fcb-header"><a href="#" class="close-terminal"><div class="fcb-header-close"><span class="fcb-close">X</span></div></a></div>';
      echo ' <div class="terminal-content"> ';
      echo ' <p>'.do_shortcode($fcb_shortcode).'</p>';
      echo ' </div>';
      echo ' <div class="overlay"></div>';
      echo ' </div>';

    After that the CSS files have to be adjusted. By default, the style.min.css is used. Open this file with Notepad++ and search for #fcb-modal and replace it with #terminal.

    That should solve it.

    Best regards,
    Chris

Viewing 1 replies (of 1 total)
  • The topic ‘Change button link’ is closed to new replies.