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
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
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.
Hello @albertandkeefes
You can add code by following these steps
Go to Online Store → Theme → Edit code.
Open your theme.liquid file
Paste the below code before on theme.liquid
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!
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!
Thank you so much for this! ![]()