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.
Add the Track Button to your store
Find the Track Button code and add <center> tag at the beginning and </center> tag at the end of the track button code
🔘 Align track button to the center
Add the Track Button to your store
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>
Updated on: 07/10/2022
Thank you!