How do I put the size chart button in a custom location?

Best Fit’s settings area lets you put your size chart button in a few locations. If you want to put it somewhere else, you can put an html element in your product template to tell the app where it should go.

Go to your Shopify dashboard, then click

  • Online Store
  • Actions
  • Edit code

Next, you’ll need to find where in your theme you’d like to place the size chart button.

A good place to start looking is in the Templates/product.liquid file or the  Sections/product-template.liquid.

Paste the html element from below. It might take a few tries to get the location right in your product layout.

<div class="best-fit-size-chart"></div>

If you need any help, please contact us, and we’ll help you out.

Was this article helpful?

Pin It on Pinterest