Adding custom button code

I was given the custom code below to insert a custom button into my website. My issue is that I inserted the code into the classic code element and cannot get it to view as a button.

Can someone point me in the right direction in terms of integrating it?

<a id="trekksoft_9577" class="select-btn-sb" href="#">BOOK NOW!</a>

<style>a.select-btn-sb{color:#00aeff;padding-left: 7em;padding-right: 7em;}a.select-btn-sb:hover{color:white;padding-left: 7em;padding-right: 7em;}</style>

<script src="//klineadventures.trekksoft.com/en_AU/api/public"></script>
<script>
(function() {
    var button = new TrekkSoft.Embed.Button();
    button
          .setAttrib("target", "fancy")
          .setAttrib("entryPoint", "tour")
          .setAttrib("tourId", "154241")
          .setAttrib("fancywidth", "615px")
          .registerOnClick("#trekksoft_9577");
})();
</script>

Hi there,

Please try adding the code in a Raw Content element.

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.