Shopify themes, liquid, logos, and UX
How do you make the size of the Popup link smaller. It takes up too much space on the product page. Please help asap. URL is www.whoglobal.shop.
Hi @samueljoonjung , kindly provide your store URL please and if it is password protected, please share the password as well. Thanks
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>
<style>
@media screen and (min-width: 750px) {
.product-popup-modal__content {
width: 55% !important;
padding: 0 3rem !important;
}
.product__info-container {
margin: 4px 0 !important;
}
}
</style>
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Please, share your store URL. Thanks!
I just did. Please check
Thanks for te info, check this one.
@media screen and (min-width: 750px) {
.product-popup-modal[open] .product-popup-modal__content {
width: 50%;
height:50%;
}
}
Im not sure how small you want it to be, but the default size are width: 70%, height: 80%. You can change it base in your preference, but please not to small. This changes is only for tablet, and dekstop not include the mobile.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thanks but I am talking about the button itself. Not what it opens. The button/link "Size Guide" is too large. I want it smaller.
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>
<style>
.product-popup-modal__button {
font-size: 14px !important;
</style>
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
That worked great but now the space above and below the "Size Guide" is too large. How can i adjust that padding
@samueljoonjung check this code
<style>
.product__info-container {
margin: 4px 0 !important;
}
</style>
This didn't work. I pasted right after the prior code you gave me. Is that what I was supposed to do?
use this code instead of above code..
This is the code I have but it didn't do anything
oh, the font you mean. Same instruction.
button#ProductPopup-popup_TGKL9w {
font-size: 1rem !important;
}
modal-opener.product-popup-modal__opener.quick-add-hidden {
margin: 0;
}
And Save.
Result:
I also lesser some space.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @samueljoonjung, can you share us your store url?
B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.
Hi @samueljoonjung, you can follow these steps:
Step 1: Open Online Store -> Themes -> Edit code
Step 2: Find section-main-product.css file
Step 3: Paste this code at the bottom of the file
.product-popup-modal__opener, .product__inventory {
margin: 0 !important;
}
B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025