Shopify themes, liquid, logos, and UX
Hi guys, I've recently added a pop up modal to my products and I'm struggling to adjust the space between the link and the other options shown below. Is anybody able to help? 🙂
store URL is http://albertandkeefes.com
pw: galoch
Thank you
Solved! Go to the solution
This is an accepted solution.
Hello @albertandkeefes
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
.product__info-wrapper .product__info-container>*+* {
margin: unset !important;
}
</style>
This is an accepted solution.
Check this one.
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:
#ProductInfo-template--22006392127809__main > div:nth-child(3), div#shopify-block-judgeme_preview_badge_product_page_84a3970d {
margin: 0px;
display: none !important;
}
div#price-template--22006392127809__main {
margin-bottom: 0px;
}
modal-opener.product-popup-modal__opener.no-js-hidden.quick-add-hidden {
margin: 0px;
}
div#Quantity-Form-template--22006392127809__main {
margin-top: 0px;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hey @albertandkeefes,
Can you try adding this CSS in the theme.
Go to Edit Code in your theme and look for theme.css, base.css, or styles.css and add the following
div#shopify-block-judgeme_preview_badge_product_page_84a3970d {
display: none;
}
#ProductInfo-template--22006392127809__main div:has(#product-form-installment-template--22006392127809__main) {
display: none;
}
modal-opener[data-modal="#PopupModal-popup_MLwMga"] {
margin: 0
}
#price-template--22006392127809__main {
margin-bottom: 0;
}
Alternatively, adding it in the Custom CSS in the Theme Customizer -> Settings sometimes works too.
This is an accepted solution.
Hello @albertandkeefes
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
.product__info-wrapper .product__info-container>*+* {
margin: unset !important;
}
</style>
Thank you so much for this! 😁
Hi Albertandkeefes,
Go to "Online Store" > "Themes" > "Customize.
You may need to use custom CSS. In the "Additional CSS" section, add:
.product__info-container>*+* {
margin: 0 !important;
}
Or
In Shopify Admin, navigate to "Edit theme code", then open the "base.css" file and add the following code at the end:
.product__info-container>*+*{
margin: 0 !important;
}
If I managed to help you then, don't forget to Like it and Mark it as Solution!
This is an accepted solution.
Check this one.
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:
#ProductInfo-template--22006392127809__main > div:nth-child(3), div#shopify-block-judgeme_preview_badge_product_page_84a3970d {
margin: 0px;
display: none !important;
}
div#price-template--22006392127809__main {
margin-bottom: 0px;
}
modal-opener.product-popup-modal__opener.no-js-hidden.quick-add-hidden {
margin: 0px;
}
div#Quantity-Form-template--22006392127809__main {
margin-top: 0px;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025