Add Multiple Header Buttons

Hi Team,

I’ve enjoyed a CTA button applied using Kris’ code here. However, I would like to add another button next to the current one I have. Does anyone know how to modify this code to add another button? When duplicated the code it simply replaced the previous button.

Thanks!

<script type="text/x-handlebars" data-template-name="/connectors/discovery-list-container-top/custom-name"> 
  <button> your button here </button>
</script>

I’m guessing you were duplicating the entire block of code? You can just duplicate the button within the script tags.

<script type="text/x-handlebars" data-template-name="/connectors/discovery-list-container-top/custom-name"> 
  <button> your button here </button>
  <button> another button here </button>
  <button> yet another button here </button>
</script>
4 Likes

Shoot, that’s it! Thanks for the hand-holding :grinning_face_with_smiling_eyes: