How To Move A Pop-Up In between The Variant Picker ?

Hi there,

I’m trying to move the pop-up “Size Chart” underneath the Size variant but I can’t do it. I don’t know if I need to use codes to be able to do it. Also, how can I add the icon for the size chart as the example below.

This is the picture of what I have right now on my website

And this is an example of what I want to have on my site.

my URL link is

https://gigicraftingcreations.com/products/mrs-claus-but-married-to-the-grinch-crewneck

If anyone can help me with this matter it would appreciate it - Thanks

Hi @GigiCrafting

Try the code below

  • From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  • Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  • In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
modal-opener.product-popup-modal__opener.no-js-hidden {
    transform: translateY(-4.8rem);
}

variant-selects > div:nth-child(1) {
    margin-bottom: 3.5rem;
}

variant-selects.no-js-hidden {
    margin-bottom: -10rem;
}
  • And Save.
  • Result:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Hi @Made4uo-Ribe

Thank you so much for your response, it works for the size chart but doesn’t work for color choice I’m trying to add it also. How can I change the position underneath of Color variant?

My theme is Dawn

Thank you again for your help.

Hi @Made4uo-Ribe

I believe that code damaged the rest of my listing - it wasn’t like that before?

Since we are using CSS to fix the request, it will show broken code to those product that does not have a size chart. To edit it nicely, someone has to edit your HTML code and add some liquid argument.