Align track button to the center of the page

You can easily customize the placement of the AfterShip track button on your store and enable tracking. This helps you to embed the track button keeping in sync with your store design. 

🔘 Align track button to the center

  1. Add the Track Button to your store
  2. Find the Track Button code and add <center> tag at the beginning and </center> tag at the end of the track button code
    <center>
    <div id="as-root"></div><script>(function(e,t,n){var r,i=e.getElementsByTagName(t)[0];if(e.getElementById(n))return;r=e.createElement(t);r.id=n;r.src="//button.aftership.com/all.js";i.parentNode.insertBefore(r,i)})(document,"script","aftership-jssdk")</script> 
    <div class="as-track-button" data-size="large" data-domain="track.aftership.com"></div>
    </center>
Was this article helpful?
7 out of 10 found this helpful