We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Remove padding from Pop-Up Block (size chart/size guide)

Remove padding from Pop-Up Block (size chart/size guide)

Senku
Excursionist
37 0 17

Ideally, I would like the pop-up link to my size chart to be on the same line and the same font size as "size"

Screenshot 2025-06-13 at 11.18.57 AM.png

But, if that's not possible, l'd like to remove the padding between the pop up block and the other sections, or at least reduce it.

Screenshot 2025-06-13 at 11.19.12 AM.png

Replies 2 (2)

Mustafa_Ali
Trailblazer
523 51 101

hey @Senku share the URLs of your website plz

"Need a Shopify Specialist"?Chat on WhatsApp
Or email at: mustafaalideveloper001@gmail.com
"If my solution was helpful, mark it as a solution and hit the like button! And wait don't forget to"

MandasaTech
Shopify Partner
816 156 168

Hi @Senku 


Yes, both options are possible with a little bit of custom code.


Option 1: Display the size chart link inline with the "Size" label and match the font size

You can try adding some custom CSS to your theme. If the size chart link is already next to the size label in the HTML, you can use something like this:

.size-chart-link {
  display: inline;
  font-size: inherit;
  margin-left: 8px; /* Adjust spacing as needed */
}


If it’s not inline yet, you might need to adjust the HTML structure in your theme file (likely in product-form.liquid or a similar section) to place the link beside the "Size" label.

Option 2: Reduce or remove the padding between the size chart popup block and surrounding elements

You can inspect the block using your browser’s Developer Tools to find the class or ID applied to the popup container. Then add custom CSS like:

.size-chart-popup {
  padding-top: 0px;
  padding-bottom: 0px;
  margin-top: 0px;
}


You can adjust the values depending on the spacing you prefer.

Let me know which theme you’re using if you’d like more specific guidance. 

☞ Helpful or Question answered? Please Click Like & Mark it Accepted Solution
☞ Want to modify or custom changes on store for affordable price? Click on Contact button here
☞ Email at experts@mandasa.in
☞ Whatsapp at +918989609120 | Hire us at: Website Support Page
☞ Selling Shopify Fundamentals: Verified Skill Badge