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

GigiCrafting
Tourist
5 0 2

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

 

Screen Shot 2023-11-03 at 12.39.55 AM.jpg

 

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

Screen Shot 2023-11-03 at 12.39.28 AM.png

 

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

 

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
5486 1322 1628

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:

 

Made4uoRibe_0-1699025222288.png

 

 

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

 

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


GigiCrafting
Tourist
5 0 2

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.

 

Screen Shot 2023-11-05 at 12.34.13 AM.jpg

GigiCrafting
Tourist
5 0 2

Hi @Made4uo-Ribe 

 

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

 

Screen Shot 2023-11-05 at 1.01.17 AM.png

Made4uo-Ribe
Shopify Partner
5486 1322 1628
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.
Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com