Frequently asked questions Custom Code

How do I add YClients widget to my button?

How do I add YClients widget to my button?

Examples below require knowledge of Javascript and CSS. Tilda Customer Support does not assist in code-related questions.

To add YClients widget to any button, the first thing you need to do is to delete the YClients block on your Tilda website (if you have added it), then add a T123 block from the “Other” category and insert the following code:

<script async src="https://w93432.yclients.com/widgetJS" charset="UTF-8"></script>
<script>
  $(document).ready(function() {
    $('a[href^="#yclients"]').addClass('ms_booking');
  });
</script>

Replace 93432 with your store number. Then assign the following link to the button: #yclients.

Done. Now you can publish the page and test the button.

Was this answer helpful?
Yes
0
No
0
Views: 18437